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

From OLPC
Jump to navigation Jump to search
Line 13: Line 13:


==Functions and methods==
==Functions and methods==
*get_hardware_manager()
*get_audio_manager()
*get_network_manager()


==Exceptions==
==Exceptions==

Revision as of 01:52, 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