On Mon, Jun 23, 2003 at 09:42:04AM -0500, Adam Harder wrote:
> I know you can get the current state of a toggle button by .active, but is
> there any way to actually change the appearence of the button without emitting
> a toggled or clicked signal?  I've tried to use .set_state(), but when I mouse
> over the button it reverts to it's state prior to when I called set_state().

Isn't it easier to use a global lock and check in the handler if it is
set?

An other alternative would be to use emit_stop_by_name() in a custom
handler, but that's horrid.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
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