Hi everybody, I'm trying to port a medium sized app to use the new introspection-based PyGObject stuff, and a big stumbling block I've come up against is that all the constants have changed their names (the irony! it burns!). For example, gtk.WINDOW_TOPLEVEL is now Gtk.WindowType.TOPLEVEL.
That example (and a few others) I was able to glean from the pygobject demo project, but I cannot seem to find any reference material that lists the available constants in a way that's easier to search/find than crawling through heaps of source code. Perhaps my Google-fu is a bit weak, but every time I try to search for the names of the gtk constants in the new pygobject framework, all I can ever seem to find are the lists of old constants, eg, this stuff: http://www.pygtk.org/docs/pygtk/gtk-constants.html (I'm also baffled that pygtk.org comes up as the first google hit for "gtk constants", but that's a different matter) Can somebody point me to a list of the introspection-based version of the above URL? In the event that such a document does not exist, is it safe to assume that I can just s/_/Type./ the old constant name to produce the new constant name? Thanks. -- http://exolucere.ca _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
