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



*your* signal handler might not fire, because you're connecting after the default handler (vfunc), which probably returns true to block any further handlers.

if you pass false for the after argument of Signal.connect(), your handler will probably get called.

but it still won't be the right signal to use to simply observe when the state changes, because this signal is intended for changing the implementation of how/when state changes are applied, not observing the state.



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