Class

AstalRiverRiver

Description

final class AstalRiver.River : GObject.Object
  implements Gio.Initable {
  /* No available fields */
}

This class creates a connection to the river compositor.

Ancestors

Implements

Constructors

astal_river_river_new

Creates a new River object. It is recommended to use the astal_river_get_default() method instead of this method.

Functions

astal_river_river_get_default

Returns the default River object.

Instance methods

astal_river_river_get_focused_output

Returns the name of the currently focused output.

astal_river_river_get_focused_view

Returns the currently focused view.

astal_river_river_get_mode

Returns the currently active mode.

astal_river_river_get_output

Returns the output with the given name or null.

astal_river_river_get_outputs

Returns a list of all outputs.

astal_river_river_run_command_async

Sends a given command to the compositor and calls the callback after it was executed.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

Properties

AstalRiver.River:focused-output

The name of the currently focused output.

AstalRiver.River:focused-view

The name of the currently focused view.

AstalRiver.River:mode

The currently active mode.

AstalRiver.River:outputs

A list of AstalRiverOutput objects.

Signals

AstalRiver.River::changed
No description available.

AstalRiver.River::output-added

This signal is emitted when a new output was connected.

AstalRiver.River::output-removed

This signal is emitted when a new output was disconnected.

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 AstalRiverRiverClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.