Class
PhoshHead
Description [src]
class Phosh.Head : GObject.Object {
parent: GObject,
name: gchar*,
description: gchar*,
vendor: gchar*,
product: gchar*,
serial: gchar*,
enabled: gboolean,
x: int32_t,
y: int32_t,
transform: wl_output_transform,
scale: double,
mode: PhoshHeadMode*,
modes: GPtrArray*,
pending: pending,
conn_type: PhoshMonitorConnectorType,
wlr_head: zwlr_output_head_v1*
}
An output head
A output head (usually a monitor). Only enabled heads corresponds to a
wl_output and PhoshMonitor
. PhoshHead
should be considered an
implementation detail of PhoshMonitorManager
and not be used outside of it.
Instance methods
phosh_head_clear_pending
Clear all pending state. This can be used if e.g. pending state was set but the output configuration not submitted.
phosh_head_set_pending_enabled
Sets a head to pending enabled. This will become active after the next call to #phosh_monitor_manager_apply_monitor_config().
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.