[pygtk] gnome options

Yann Leboulanger asterix at lagaule.org
Mon May 2 04:37:20 WST 2011


On 04/22/2011 12:03 AM, Robert Schroll wrote:
> On 04/21/2011 04:37 PM, Yann Leboulanger wrote:
>>> But it seems I have to use GOptionContext, but that doesn't seem to
>>> exist in PyGTK.
>
> OptionContext is in gobject, at least for me (2.21.1). Can't help you
> with the rest, I'm afraid.

Thanks, I didn't find it because it's not in documentation on pygtk website.

Now it seems that to get the list of options supported by gtk, there is 
a function: gtk_get_option_group () ([1])

but once again I don't find it in python bindings. I looked for 
gtk.get_option_group(), glib.get_option_group(), 
gobject.get_option_group(). is there a reason it's not available? Or am 
I blind?


[1]: 
http://developer.gnome.org/gtk/stable/gtk-General.html#gtk-get-option-group


More information about the pygtk mailing list