Re: Gtk::Switch problem, not being able to handle the signal state_set
From: Carlos Gomez <carlos fgh co uk>
To: gtkmm-list gnome org
Subject: Re: Gtk::Switch problem, not being able to handle the signal state_set
Date: Tue, 28 May 2019 14:38:47 +0100
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.