Re: GS 3.9 affectsInputRegion

So, anyone, please?


On 07/10/2013 07:00 AM, gnome-shell-list-request gnome org wrote:
Send gnome-shell-list mailing list submissions to
      gnome-shell-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
      gnome-shell-list-request gnome org

You can reach the person managing the list at
      gnome-shell-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gnome-shell-list digest..."

Today's Topics:

   1. GS 3.9 affectsInputRegion (Vadim)


Message: 1
Date: Tue, 09 Jul 2013 15:45:49 -0500
From: Vadim <vadim dbfin com>
To: Gnome-Shell List <gnome-shell-list gnome org>
Subject: GS 3.9 affectsInputRegion
Message-ID: <51DC767D 7030606 dbfin com>
Content-Type: text/plain; charset=ISO-8859-1

Hi everyone,

I have a question about GS 3.9. One of the commits removes the
affectsInputRegion parameter. I know there were some special reasons for
that, and a lot of underlying C code has changed.

Now, suppose I have an actor A that takes some space but I want it to be
transparent for all events such as mouse clicks etc. Actor A may have
some children -- actors B, C, ... -- which are not transparent, and I
want them to receive mouse clicks etc. Before 3.9 I would do something like:
addChrome(A, { affectsInputRegion: false });
trackChrome(B, { affectsInputRegion: true });
trackChrome(C, { affectsInputRegion: true });

Now, if I add A using Main.uiGroup.add_child(A) instead, then
trackChrome will complain that none of B's (or C's etc.) ancestors were
added using addChrome.

What is the recommended way of doing this in GS 3.9? Thank you.



Subject: Digest Footer

gnome-shell-list mailing list
gnome-shell-list gnome org


End of gnome-shell-list Digest, Vol 57, Issue 2

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