signal/properties/enums/flags defs



Here is a program to generate the .defs sections for signals,
properties, enums, and flags. You can get it by checking out the
gtkmm-1.3 module.

http://cvs.gnome.org/bonsai/cvsblame.cgi?file=gtkmm-root/tools/generate_extra_defs.cc&rev=&root=/cvs/gnome

And here's a sample .defs file, for GtkButton and GtkContainer. Does
anyone know how I can dynamically get a list of all the GTK/GDK types,
instead of having to hand-code gtk_button_get_type(),
gtk_container_get_type() etc?

http://www.murrayc.com/temp/gtk_extra.defs

It only does signals and properties at the moment. Does anyone know how
I can ask a GObject, or glib itself, for it's enums and flags?

-- 
Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]