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 correspond to a
wl_output and PhoshMonitor
. PhoshHead
should be considered an
implementation detail of PhoshMonitorManager
and not be used outside of it.
Constructors
phosh_head_new_from_wlr_head
No description available.
Instance methods
phosh_head_calculate_supported_mode_scales
No description available.
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_find_mode_by_name
No description available.
phosh_head_get_enabled
No description available.
phosh_head_get_preferred_mode
Get the preferred mode.
phosh_head_get_wlr_head
Get the heads wlr_head.
phosh_head_is_builtin
No description available.
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
No description available.
Properties
Phosh.Head:name
No description available.
Phosh.Head:wlr-head
No description available.
Signals
Phosh.Head::head-finished
No description available.
Signals inherited from GObject (1)
GObject.Object::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.