Enumeration

PhoshMonitorTransform

Declaration

enum Phosh.MonitorTransform

Description [src]

The monitors rotation. This corresponds to the values in the org.gnome.Mutter.DisplayConfig DBus protocol.

Members

Name Description
PHOSH_MONITOR_TRANSFORM_NORMAL

Normal.

PHOSH_MONITOR_TRANSFORM_90

90 degree clockwise.

PHOSH_MONITOR_TRANSFORM_180

180 degree clockwise.

PHOSH_MONITOR_TRANSFORM_270

270 degree clockwise.

PHOSH_MONITOR_TRANSFORM_FLIPPED

Flipped clockwise.

PHOSH_MONITOR_TRANSFORM_FLIPPED_90

Flipped and 90 deg.

PHOSH_MONITOR_TRANSFORM_FLIPPED_180

Flipped and 180 deg.

PHOSH_MONITOR_TRANSFORM_FLIPPED_270

Flipped and 270 deg.

Type functions

phosh_monitor_transform_is_tilted

We consider a transform to tilt the display if it changes the display orientation from portrait to landscape or vice versa.