### Class

# Phosh RotationManager

since: 0

#### Description [src]

    final class Phosh.RotationManager : GObject.Object
    {
      /* No available fields */
    }

The Rotation Manager

`PhoshRotationManager` is responsible for managing the rotation of a given `PhoshMonitor`. Depending on the `PhoshRotationManagerMode` this can happen by interfacing with a `PhoshSensorProxyManager` or by setting the `PhoshMonitorTransform` explicitly. It also takes the `PhoshLockscreenManager:locked` status into account to ensure the lockscreen is rotated accordingly on small phones.

Available since: 0

#### Ancestors

- GObject

#### Constructors

###### phosh_rotation_manager_new

No description available.

since: 0

#### Instance methods

###### phosh_rotation_manager_get_mode

No description available.

since: 0

###### phosh_rotation_manager_get_monitor

No description available.

since: 0

###### phosh_rotation_manager_get_orientation_locked

No description available.

since: 0

###### phosh_rotation_manager_get_transform

No description available.

since: 0

###### phosh_rotation_manager_set_mode

Sets the given mode.

since: 0

###### phosh_rotation_manager_set_monitor

No description available.

since: 0

###### phosh_rotation_manager_set_orientation_locked

No description available.

since: 0

###### phosh_rotation_manager_set_transform

No description available.

since: 0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Phosh.RotationManager:lockscreen-manager

No description available.

since: 0

###### Phosh.RotationManager:mode

No description available.

since: 0

###### Phosh.RotationManager:monitor

No description available.

since: 0

###### Phosh.RotationManager:orientation-locked

No description available.

since: 0

###### Phosh.RotationManager:sensor-proxy-manager

No description available.

since: 0

###### Phosh.RotationManager:transform

No description available.

since: 0

#### 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.

unstable since: 2.0

#### Class structure

    struct PhoshRotationManagerClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.