Stupid X Toolkit
#1
Stupid X Toolkit
Disclaimer: Rant mode; not really looking for help. So, in 30 some years of programming with Xt and Motif, I finally stumbled onto an opportunity to use XtAddCallbacks, which apparently  no one else ever uses. And now I know why. Because to use it you have to pass in as a parameter an XtCallbackList. I have here in my lap Volume 4 of the X Toolkit Intrinsics Programming Manual, this is what it says about XtCallbackList:

Yes, you read that right, what it says about XtCallbackList is NOTHING. And of course the GNU compiler is so helpful (image attached). Rant mode off, kindly resume your normal activities...


Attached Files Image(s)
   

Project: Temporarily lost at sea
Plan: World domination! Or something...
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,247
Threads: 42
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
08-08-2021, 04:16 AM
#2
RE: Stupid X Toolkit
Reminds me of trying to get information on a tool (I forget which) where the man page was literally just a stub saying, effectively, that the real documentation was on the developer's site (which, of course, 404ed.)

Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/X5DR, Ensoniq SQ-80, E-mu Proteus/2, Nord Lead 2, Behringer Model D
commodorejohn
PDP-X

Trade Count: (0)
Posts: 367
Threads: 7
Joined: May 2018
Find Reply
08-08-2021, 03:29 PM
#3
RE: Stupid X Toolkit
And now, x org itself says don't use Xt or Motif anymore. Okay, so just throw decades of programming experience away and start from scratch again with something else, nice.

Project: Temporarily lost at sea
Plan: World domination! Or something...
vishnu
Tezro, Octane2, 2 x Onyx4

Trade Count: (0)
Posts: 1,247
Threads: 42
Joined: Dec 2017
Location: Minneapolis, Minnesota USA
Find Reply
08-08-2021, 05:00 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)