Sugar Architecture/API/sugar.shell.hardwaremanager: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
/usr/share/suger/shell
/usr/share/suger/shell
==Classes==
==Classes==

HardwareManager
*set_display_mode(self, mode)
*set_display_brightness(self, level)
*toggle_keyboard_brightness(self)


==Functions and methods==
==Functions and methods==

Revision as of 01:51, 10 March 2007

Interacts with DBUS, display mode, display brightness, and keyboard lights.

Module Name

sugar.shell.hardwaremanager

Module Location

/usr/share/suger/shell

Classes

HardwareManager

  • set_display_mode(self, mode)
  • set_display_brightness(self, level)
  • toggle_keyboard_brightness(self)

Functions and methods

Exceptions