Class
PhoshHead
Description [src]
class Phosh.Head : GObject.Object
{
name: gchar*,
description: gchar*,
vendor: gchar*,
product: gchar*,
serial: gchar*,
enabled: gboolean,
phys: PhoshPhysicalSize,
x: int32_t,
y: int32_t,
transform: wl_output_transform,
scale: double,
mode: PhoshHeadMode*,
modes: GPtrArray*,
pending: PhoshHeadStatePending,
conn_type: PhoshMonitorConnectorType,
wlr_head: zwlr_output_head_v1*
}
An output head
A output head (usually a monitor). Only enabled heads correspond 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().
phosh_head_set_pending_transform
Set the heads pending transform. Move pending positions of heads to
the right and below self
around to avoid gaps and overlaps in the layout.
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.