Re: [pygtk] Sync 2 widgets

2008-05-02 Thread Steven Brown
Timo, you have lots of options. The simplest would be to add an event handler to each widget's toggled (i think) signal to check the other widget and set the same value. If it's sufficient, you could create an action (gtk.Action) and connect both widgets to it. You could create your own model

[pygtk] Sync 2 widgets

2008-04-19 Thread Timo
I have a checkbox in my program (made with Glade). I also have a tray-icon which pops-up a menu that contains a checkbox too. Is it possible that if I click the checkbox in my program, the checkbox in the traymenu is also toggled? And the other way around too ofcourse. Timo