Re: Help for an extension: switch workspace in overview
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Bazon Bloch <bazonbloch arcor de>
- Cc: gnome-shell-list gnome org
- Subject: Re: Help for an extension: switch workspace in overview
- Date: Sun, 2 Sep 2012 14:19:23 -0400
On Sun, Sep 2, 2012 at 10:29 AM, Bazon Bloch <bazonbloch arcor de> wrote:
> Hello,
>
> I'm about to write a Gnome-Shell-Extension and by now, everything is fine,
> except one thing:
>
> I need to call a function when the workspaces switch in the overview.
>
> I tried with Main.wm.actionMoveWorkspaceUp, but that is only for workspace
> change outside the overview.
> So what can I do to get a function when switching workspaces IN the
> overview?
You can just activate the workspace directly.
global.screen.get_workspace_by_index(index).activate(global.get_current_time());
> thanks!
>
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list
--
Jasper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]