set_anchor


Description:


public void set_anchor (Window window, Edge edge, bool anchor_to_edge)

Set whether window should be anchored to edge.

- If two perpendicular edges are anchored, the surface with be anchored to that corner - If two opposite edges are anchored, the window will be stretched across the screen in that direction

Default is false for each Edge

Parameters:

window

A layer surface.

edge

A Edge this layer surface may be anchored to.

anchor_to_edge

Whether or not to anchor this layer surface to edge.


Namespace: GtkLayerShell