Unity 8
unity8.indicators.DisplayIndicatorPage Class Reference
Inheritance diagram for unity8.indicators.DisplayIndicatorPage:
Collaboration diagram for unity8.indicators.DisplayIndicatorPage:

Public Member Functions

def validate_dbus_object (cls, path, state)
 
def lock_rotation (self)
 
def unlock_rotation (self)
 
- Public Member Functions inherited from unity8.indicators.IndicatorPage
def validate_dbus_object (cls, path, state)
 

Detailed Description

Autopilot helper for the display indicator page.

Definition at line 98 of file __init__.py.

Member Function Documentation

def unity8.indicators.DisplayIndicatorPage.lock_rotation (   self)
Toggle the rotation lock indicator to locked.

Definition at line 110 of file __init__.py.

110  def lock_rotation(self):
111  """Toggle the rotation lock indicator to locked."""
112  switcher = self._get_switcher()
113  switcher.check()
114  switcher.checked.wait_for(True)
115 
def unity8.indicators.DisplayIndicatorPage.unlock_rotation (   self)
Toggle the rotation lock indicator to unlocked.

Definition at line 120 of file __init__.py.

120  def unlock_rotation(self):
121  """Toggle the rotation lock indicator to unlocked."""
122  switcher = self._get_switcher()
123  switcher.uncheck()
124  switcher.checked.wait_for(False)

The documentation for this class was generated from the following file: