GdkX11.X11Window.prototype.move_to_desktop

function move_to_desktop(desktop: Number(guint32)): void {
    // Gjs wrapper for gdk_x11_window_move_to_desktop()
}
  

Moves the window to the given workspace when running unde a window manager that supports multiple workspaces, as described in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.

Since 3.10

desktop

the number of the workspace to move the window to