InterviewSolution
| 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 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 but they are to be used with set_state(). In pygtk2, get_state() is implemented and wrapped. |
|