2 ms·
XView (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 extensivel
by rwmj 3y ago
XView (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);