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



That's the reason, now my signal handler is fired, but I think you are right and I am going to handle the change of the property, that is what I really need.

Thank you very much.

On 28/05/2019 14:28, Daniel Boles via gtkmm-list wrote:
*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.


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


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