[Gimp-developer] connecting to update signal in uimanager
Simon Budig
simon at budig.de
Mon Jun 29 17:44:06 PDT 2009
Jordan Stinson (jordan.stinson83 at gmail.com) wrote:
> I'm trying to hack gimp. For my purposes, I want to be notified when certain
> actions become sensitive, or insensitive. The way I wanted to do this was to
> store the actions I wanted to keep track of and connect to the UIManager's
> update signal. That way, when an update happened, my callback function would
> be called and I could loop through my list and check the sensitive property
> of my actions.
Wouldn't it make more sense to connect to "notify::sensitive" on the
actions you're interested in?
Bye,
Simon
--
simon at budig.de http://simon.budig.de/
More information about the Gimp-developer
mailing list