[Nasal-cvs] gtk.nas

Andy Ross andy at plausible.org
Sun Oct 8 14:14:48 PDT 2006


Update of /home/nasal-cvs/nasal/lib
In directory purr:/tmp/cvs-serv27553/lib

Modified Files:
	gtk.nas 
Log Message:
Add integration for the GtkUIManager menu and toolbar framework.  I
*hate* this API; it's very large, crufty (makes you write XML in your
source code, but puts all the complicated data in the actions, so the
XML is just a tiny stub), and needlessly designed without
property/signal integration (most of the new C functions are just
get/set routines that *should* be properties).  But... it's the
"standard" for Gtk, and the low-level menu API is actually worse;
generating the correct-looking label for a menu item can only be done
by copying code out of the Gtk tree...

Also: check in the test/example code into a "gtk" directory; plug a
memory leak in cairo; and don't wrap null pointers in ghosts (use nil
instead).



More information about the nasal-cvs mailing list