stick


Description:

public void stick ()

“Pins” a window such that it’s on all workspaces and does not scroll with viewports, for window managers that have scrollable viewports.

(When using GtkWindow, gtk_window_stick may be more useful.)

On the X11 platform, this function depends on window manager support, so may have no effect with many window managers. However, GDK will do the best it can to convince the window manager to stick the window. For window managers that don’t support this operation, there’s nothing you can do to force it to happen.

Parameters:

this

a toplevel Window