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

From OLPC
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
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==
*get_hardware_manager()
*get_audio_manager()
*get_network_manager()


==Exceptions==
==Exceptions==
none

Latest revision as of 01:55, 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

  • get_hardware_manager()
  • get_audio_manager()
  • get_network_manager()

Exceptions

none