PhoshHead
PhoshHead — An output head
|
|
Object Hierarchy
GObject
╰── PhoshHead
Description
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.
Functions
phosh_head_new_from_wlr_head ()
PhoshHead *
phosh_head_new_from_wlr_head (gpointer wlr_head
);
phosh_head_get_wlr_head ()
struct zwlr_output_head_v1 *
phosh_head_get_wlr_head (PhoshHead *self
);
Get the heads wlr_head
Returns
The wayland head.
[transfer none]
phosh_head_get_preferred_mode ()
PhoshHeadMode *
phosh_head_get_preferred_mode (PhoshHead *self
);
Get the preferred mode
Returns
The preferred mode.
[transfer none]
Types and Values
PHOSH_TYPE_HEAD
#define PHOSH_TYPE_HEAD (phosh_head_get_type ())
PhoshHeadMode
typedef struct {
} PhoshHeadMode;
struct PhoshHead
struct PhoshHead;
Property Details
The “name”
property
“name” gchar *
The head's name.
Flags: Read
Default value: ""
The “wlr-head”
property
“wlr-head” gpointer
The wlr head associated with this head.
Flags: Read / Write / Construct Only