News for hackers. Stuff that matters.
Re:In praise of xlogo by teddyh on Friday August 30, 2019 @08:16PM (#20843879)
These only work with programs written using (and linked to) Xt, the X Toolkit, or something which uses Xt internally, like the X Athena Widgets. More modern toolkit libraries like GTK or Qt are not using Xt, since Xt is ancient; modern toolkit libraries are written directly on top of Xlib or the even more modern XCB.
Re:In praise of xlogo by mhd on Saturday August 31, 2019 @03:30AM (#20845070)
I don't see age being the prime factor here. The X Toolkit Intrinsics (Xt) are actually a quite nice framework if you want to have an abstraction over Xlib, want some nice event loop functionality or OO features in C. I think I even remember someone writing a paper about using it without a GUI way back when.

Not using it was mostly done because you want to be cross-platform at that level, aren't using C as your core language (Qt, Tk) or just the usual case of NIH you get everywhere (Gtk, which rather invented glib).

Re:In praise of xlogo by oso2k on Saturday August 31, 2019 @02:50PM (#20848122)
I did Xt in college for a Unix Graphics Programming class and it felt so alien to me. The examples in the books (3 or 4 books) we had never seemed to work right. When compared to plain Xlib, OpenGL immediate mode and 3D mode, Java’s AWT and Swing, or even the tiny bit of Win32 I picked up via NanoX/Microwindows, Xt always just felt like dereference vomit, arcane property setting in unrelated objects or contexts and an event loop that magically picked up some events but not others. It was like there was some undocumented state machines that backed the event loop.