Re: Connect to window resize / move signal
- From: Tim Cuthbertson <tim gfxmonk net>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: gnome-shell-list gnome org
- Subject: Re: Connect to window resize / move signal
- Date: Sun, 19 Jun 2011 20:31:59 +1000
On Sun, Jun 19, 2011 at 7:30 PM, Jasper St. Pierre
<jstpierre mecheye net> wrote:
> 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.
It's the other way round - I have a MetaWindow, but don't (didn't)
have access to its actor.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]