- public void auto_exclusive_zone_enable (Window window)
When auto exclusive zone is enabled, exclusive zone is automatically
set to the size of the window + relevant margin.
- public bool auto_exclusive_zone_is_enabled (Window window)
- public bool get_anchor (Window window, Edge edge)
- public int get_exclusive_zone (Window window)
- public bool get_keyboard_interactivity (Window window)
- public KeyboardMode get_keyboard_mode (Window window)
- public Layer get_layer (Window window)
- public uint get_major_version ()
- public int get_margin (Window window, Edge edge)
- public uint get_micro_version ()
- public uint get_minor_version ()
- public unowned Monitor get_monitor (Window window)
- public unowned string get_namespace (Window window)
NOTE: this function does not return ownership of the string.
- public uint get_protocol_version ()
May block for a Wayland roundtrip the first time it's called.
- public void* get_zwlr_layer_surface_v1 (Window window)
- public void init_for_window (Window window)
Set the window up to be a layer surface once it is
mapped.
- public bool is_layer_window (Window window)
- public bool is_supported ()
May block for a Wayland roundtrip the first time it's called.
- public void set_anchor (Window window, Edge edge, bool anchor_to_edge)
Set whether window should be anchored to edge
.
- public void set_exclusive_zone (Window window, int exclusive_zone)
Has no effect unless the surface is anchored to an edge.
- public void set_keyboard_interactivity (Window window, bool interactivity)
Whether the window should receive keyboard events from
the compositor.
- public void set_keyboard_mode (Window window, KeyboardMode mode)
Sets if/when window should receive keyboard events from
the compositor, see GtkLayerShellKeyboardMode for details.
- public void set_layer (Window window, Layer layer)
Set the "layer" on which the surface appears (controls if it is over
top of or below other surfaces).
- public void set_margin (Window window, Edge edge, int margin_size)
Set the margin for a specific edge of a window
.
- public void set_monitor (Window window, Monitor monitor)
Set the output for the window to be placed on, or
null to let the compositor choose.
- public void set_namespace (Window window, string name_space)
Set the "namespace" of the surface.
- public void try_force_commit (Window window)
Commits a surface state if there's no pending commit scheduled by the
GTK.