Re: Looking for a connect signal again: Clicking on empty place in overview



Thank you, that was indeed the needed connect! :-)

But I got two questions left concerning that:
2012/10/4 Amy <mathematical coffee gmail com>(You can
enter the Overview & then open the looking glass and use the 'picker'
object to try and work out which actor you want to listen to events on
if you didn't know it was the _workspacesDisplay.actor).

1.
That was thing I was trying before. But: The picker only picked me
[0x8f1a380 ShellGenericContainer:last-child first-child]

this is indeed the same as if I enter
imports.ui.main.overview._workspacesDisplay.actor
in the looking glass inspector, that also returns
[0x8f1a380 ShellGenericContainer:last-child first-child]

But how do I know than that
[0x8f1a380 ShellGenericContainer:last-child first-child] = imports.ui.main.overview._workspacesDisplay.actor ?

I tried to click on "__metaclass__", but that gave me no information.

2.
In looking glass, I can't find the "reactive" property in imports.ui.main.overview._workspacesDisplay.actor. How did you know it was there?


Many thanks
Bazon





2012/10/4 Amy <mathematical coffee gmail com>
If you connect to 'button-press-event' or 'button-release-event' (ie
click event) on `Main.overview._workspacesDisplay.actor`, and
additionally set its 'reactive' property to `true` (so that it
actually receives these events), that should do the trick. (You can
enter the Overview & then open the looking glass and use the 'picker'
object to try and work out which actor you want to listen to events on
if you didn't know it was the _workspacesDisplay.actor).

On 3 October 2012 23:37, Bazon Bloch <bazonbloch arcor de> wrote:
> Hello,
>
> I would like to show the desktop when clicking an empty place in the
> overview in WorkspacesView.WorkspacesDisplay mode.
> So I need a connect signal for that. Does anyone know that signal?
>
> Thanks
> Bazon
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list



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