As a proof-of-concept, this actually pops up a button in its own top-level
window. The gtk-register-widget can load up the gnome libraries as well,
but you need a #%!@-load of preloads for it to work (gnomeui depends on
gnome, gnomesupport, esd, and audiofile on my freebsd work. Feh.
The generic argument setting code appears to work. Fun fun fun.
(setq widget
(gtk-register-widget
"button"
"libgtk12.so"
"gtk_button_get_type"
nil))
(gtk-realize-widget widget '(("label" . "Push My Buttons")))
I'm going to try to write the majority of the generic interface in lisp,
and have the gtk stuff as a specific 'backend' for it.
-bp
Show replies by date