Window.restack

Changes the position of window in the Z-order (stacking order), so that it is above sibling (if above is TRUE) or below sibling (if above is FALSE).

If sibling is NULL, then this either raises (if above is TRUE) or lowers the window.

If window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, Window.restack only requests the restack, does not guarantee it.

class Window
void
restack

Parameters

sibling Window

a gdk.Window that is a sibling of window, or NULL

above bool

a boolean

Meta

Since

2.18