Neil Dugan wrote:
> With pygtk version 2.12.9 this works
> "button = gtk.ToggleButton('test',False)"
> but on pygtk version 2.16.1 it no longer works :)
>
> I get the error message
> RuntimeError: more argument specifiers than keyword list entries
> (remaining format:'):GtkToggleButton.__init__')
>
> what do I need to do for it to work on both versions?
>
It's a bug. The workaround is:
button = gtk.ToggleButton('test')
button.props.use_underline = False
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/