[sugar] Activation / Deactivation
Marco Pesenti Gritti
Tue Oct 10 11:24:54 EDT 2006
Dan Williams wrote:
> On Tue, 2006-10-10 at 09:57 +0200, Marco Pesenti Gritti wrote:
>> Bert Freudenberg wrote:
>>> Hi folks,
>>> is there a notification of activation / deactivation for an activity?
>>> Or do I have to watch X11 events when matchbox shuffles windows back
>>> and forth?
>> Activity is a GtkWindow so you can listen of focus-in/focus-out. See the
>> attached patch for an example. This way you will get
>> activated/deactivated also when switching to the home page or the zoom
>> view temporarily though. And I'm not sure if that's what we actually
>> want. I need to talk with Eben about it.
> Doesn't the Shell also broadcast DBus signals when apps change?
I don't think so? Anyway, we can figure out a way to do it. We need to
have an idea of what's the policy about this is going to look like first
tough. I will discuss this with Eben after BTest-1.
More information about the Sugar-devel