Class

AstalRiverLayout

Description

class AstalRiver.Layout : GObject.Object
{
  GClosure* layout_demand_closure
}

Allows implementing a custom windows Layout generator.

Ancestors

Instance methods

astal_river_layout_set_layout_demand_closure

Sets the Closure to be called when a new layout is requested. The Closure is of type AstalRiverLayoutDemandCallback. The Closure must return a AstalRiverLayoutDemandResult containing exactly as many AstalWlRectangle objects as requested. Each rectangle represents the position and size of each window. Before the result is applied, each rectangle is croped to ensure it lies entirely within the usable area.

astal_river_layout_get_namespace
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalRiver.Layout:namespace

The name of this layout.

Signals

AstalRiver.Layout::namespace-in-use

Emitted when a Layout with the given name is already registered for an output.

AstalRiver.Layout::user-command

Emitted when the user sent a command to this layout.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalRiverLayoutClass {
  /* no available fields */
}

No description available.