1.

Where Is Get_state() In Pygtk 0.6.x?

Answer»

JAMES Henstridge points out that there is no get_state() function in gtk 1.2.

And THEREFORE no way to WRAP it in PYGTK. There are actually a number of state constants DEFINED in gtk:

 gtk.STATE_ACTIVE
 gtk.STATE_NORMAL
 gtk.STATE_SELECTED
 gtk.STATE_INSENSITIVE
 gtk.STATE_PRELIGHT

but they are to be used with set_state(). In pygtk2, get_state() is implemented and wrapped.

James Henstridge points out that there is no get_state() function in gtk 1.2.

And therefore no way to wrap it in pygtk. There are actually a number of state constants defined in gtk:

 gtk.STATE_ACTIVE
 gtk.STATE_NORMAL
 gtk.STATE_SELECTED
 gtk.STATE_INSENSITIVE
 gtk.STATE_PRELIGHT

but they are to be used with set_state(). In pygtk2, get_state() is implemented and wrapped.



Discussion

No Comment Found