Gian Mario Tagliaretti schrieb:
> 2007/5/6, N. Volbers <[EMAIL PROTECTED]>:
> 
>> I found the problem! The documentation is wrong. If you look at the
>> original API documentation of gtk+, it will say that the target is
>> "GTK_NOTEBOOK_TAB" and not (like it says in the pygtk documentation)
>> "gtk.NOTEBOOK_TAB".
> 
> gtk.NOTEBOOK_TAB is the python equivalent of the C's GTK_NOTEBOOK_TAB,
> it should not even work if you use the latter.
> 
> cheers

The target is a string, not a constant, i.e. the target is something like

  ("GTK_NOTEBOOK_TAB", ... )

Actually, there is not even a gtk.NOTEBOOK_TAB.  Using the above string
works fine.

Niklas.


_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to