Re: Connect to window resize / move signal
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Tim Cuthbertson <tim gfxmonk net>
- Cc: gnome-shell-list gnome org
- Subject: Re: Connect to window resize / move signal
- Date: Sun, 19 Jun 2011 05:30:52 -0400
On Sun, Jun 19, 2011 at 5:05 AM, Tim Cuthbertson <tim gfxmonk net> wrote:
> On Sun, Jun 19, 2011 at 6:56 PM, Florian Müllner <fmuellner gnome org> wrote:
>> On Sun, 2011-06-19 at 15:50 +1000, Tim Cuthbertson wrote:
>>> MetaWindow.actor (the obvious guess) doesn't exist, and I can't find
>>> any methods in Meta.gir that return a WindowActor.
>>
>> Yeah, it's pretty unobvious:
>>
>> let windowActor = metaWindow.get_compositor_private();
>>
>> Florian
>
> Oh, that's what that is for! Thanks :)
>
> @jasper: It's not a problem with variable binding or anything like
> that, it's simply that I could not find out how to access the
> MetaWindowActor instance that corresponds to a given window in the
> first place.
And I'm curious why you would ever have a MetaWindowActor without the
MetaWindow.
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-shell-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]