PDA

View Full Version : GTK spinboxes dialogs and checkboxes



J V
January 1st, 2010, 07:55 PM
I have problesm with these three widgets.

Dialog: For some reason whenever my dialog pops up (not about, just a generic dialog) the thick text at the top is highlighted...

http://img705.imageshack.us/img705/981/screenshotapghelp.th.png (http://img705.imageshack.us/i/screenshotapghelp.png/)

I used a cheap set_value() hack to fix the spinboxes

Checkboxes

def check_toggled(self,widget):
if(widget.get_inconsistent()):
widget.set_active(True)
widget.set_inconsistent(False)
elif(widget.get_active()):
widget.set_inconsistent(True)
return TrueEdit: fixed

J V
January 2nd, 2010, 10:17 PM
Bump, still need a word on why the dialog title is highlighted :/