I have a ComboBox that has no active rows when the application starts which is accomplished with the set_active(-1) call in the init() method. I have found that the user may select any row easy enough, but it is baffling me how to get the ComboBox to allow the *end user* to select no active row again. In other words, after making a selection, I want to enable the user to choose "nothing" again leaving a blank ComboBox as when the application started. I know that I could add a button that the user could press that I could use to set_active(-1) on the ComboBox, but that seems like a hack to me.

What am I missing to enable this? Or, is this just the behavior of ComboBox?

For what it is worth, I am using GTK 2.10.6-1 on Windows XP.

Thanks,

Kurt

--
Kurt Symanzik
[EMAIL PROTECTED]
Skype id: ksymanzik
http://kbsymanzik.org
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to