Re: Gtk::Switch problem, not being able to handle the signal state_set



You're welcome!

I hadn't consciously realised GtkSwitch had both :active and :state to be honest. The latter is for delayed state changes, so if you just need a simple switch, you should be able to leave the ::state-set handler alone and observe changes on either of those properties, because they should change in lockstep.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]