Class
AstalWlRegistry
Description
class AstalWl.Registry : GObject.Object
{
GHashTable* globals,
GHashTable* outputs,
GHashTable* seats
}
Wraps the Wayland wl_registry interface and keeps track of all announced globals, outputs and seats.
It exposes high-level collections and lookup helpers and emits signals when globals, outputs or seats are added or removed.
Functions
astal_wl_registry_get_default
Returns the singleton Registry instance.
The first call connects to the Wayland display and sets up the underlying wl_registry listener.
Instance methods
astal_wl_registry_find_globals
Returns a list of globals, optionally filtered by interface name. If null is passed, all globals are returned.
Signals
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.