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 105 of file __init__.py.

Member Function Documentation

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

Definition at line 117 of file __init__.py.

117  def lock_rotation(self):
118  """Toggle the rotation lock indicator to locked."""
119  switcher = self._get_switcher()
120  switcher.check()
121  switcher.checked.wait_for(True)
122 
def unity8.indicators.DisplayIndicatorPage.unlock_rotation (   self)
Toggle the rotation lock indicator to unlocked.

Definition at line 127 of file __init__.py.

127  def unlock_rotation(self):
128  """Toggle the rotation lock indicator to unlocked."""
129  switcher = self._get_switcher()
130  switcher.uncheck()
131  switcher.checked.wait_for(False)
132 
133 

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