Function gtk_layer_shell::functions::set_anchor
source · Expand description
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
window
A layer surface.
edge
A Edge
this layer suface may be anchored to.
anchor_to_edge
Whether or not to anchor this layer surface to edge
.