3 ms·
For it's time the way X did things was incredibly elegant and it worked really well and did things that seemed very sophisticated long before other systems coul
by ben7799 3y ago
For it's time the way X did things was incredibly elegant and it worked really well and did things that seemed very sophisticated long before other systems could handle remote desktops.
There's a lot of stuff that seems hackish about modern stuff, but the needs are different. (Perhaps it seems worse to me when the modern stuff is grafted on top of X)
The thing that I remember being horrific about X was the abuse of pointers in some of the toolkits like Motif.
When GTK came along it seemed a lot easier to write to. As did Tk.
- rwmj 3y agoXView (https://en.wikipedia.org/wiki/XView https://en.wikipedia.org/wiki/XView) was a really great way to write GUI applications from C programs. It extensively (ab-)used varargs: frame = (Frame)xv_create (NULL, FRAME, FRAME_LABEL, argv[0], XV_WIDTH, 200, XV_HEIGHT, 100, NULL); panel = (Panel)xv_create (frame, PANEL, NULL); (void) xv_create (panel, PANEL_BUTTON, PANEL_LABEL_STRING, "Quit", PANEL_NOTIFY_PROC, quit, NULL); xv_main_loop (frame);