Re: [gtk-osx-users] getting a signal when the dock icon is clicked on



On Wed, Mar 16, 2016 at 6:54 AM, Antoine Martin <antoine nagafix co uk> wrote:
Hi,

I would like to get notified when the dock is clicked on, so that I can
restore any windows currently minimized. (that's the expected behaviour
on OSX apparently)

The only signal I can listen for that fires when one clicks on the dock
is the "NSApplicationDidBecomeActive", but that's not really what I am
looking for since it will also fire in other cases.
Am I missing something?
Is anyone already doing this in other gtk-osx applications?

If you happen to use Python have a look at
https://github.com/quodlibet/quodlibet/blob/master/quodlibet/quodlibet/__init__.py#L678


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