Package screenlets
[hide private]
[frames] | no frames]

Package screenlets

source code

Submodules [hide private]

Classes [hide private]
  DefaultMenuItem
A container with constants for the default menuitems
  ScreenletTheme
ScreenletThemes are simple storages that allow loading files as svg-handles within a theme-directory.
  Screenlet
A Screenlet is a (i.e.
  ShapedWidget
A simple base-class for creating owner-drawn gtk-widgets
  Tooltip
A window that displays a text and serves as Tooltip (very basic yet).
  Notify
A window that displays a text and serves as Notification (very basic yet).
Functions [hide private]
 
_(s) source code
 
launch_screenlet(name, debug=False)
Launch a screenlet, either through its service or by launching a new process of the given screenlet.
source code
 
show_message(screenlet, message, title='')
Show a message for the given Screenlet (may contain Pango-Markup).
source code
 
show_question(screenlet, message, title='')
Show a question for the given Screenlet (may contain Pango-Markup).
source code
 
show_error(screenlet, message, title='Error')
Show an error for the given Screenlet (may contain Pango-Markup).
source code
 
fatal_error(message)
Raise a fatal error to stdout and stderr and exit with an errorcode.
source code
 
create_new_instance(name) source code
Variables [hide private]
  APP_NAME = 'Screenlets'
  VERSION = '0.0.12'
  COPYRIGHT = '(c) RYX (Rico Pfaus) <ryx@ryxperience.com>'
  AUTHORS = ['RYX (Rico Pfaus) <ryx@ryxperience.com>', 'Whise (H...
  COMMENTS = 'Screenlets are small owner-drawn applications (wri...
  WEBSITE = 'http://www.screenlets.org'
  THIRD_PARTY_DOWNLOAD = 'http://screenlets.org/index.php/Catego...
  INSTALL_PREFIX = '/usr'
  PATH = '/usr/share/screenlets'
  SCREENLETS_PATH = ['/home/buildd/.screenlets', '/usr/share/scr...
Function Details [hide private]

launch_screenlet(name, debug=False)

source code 
Launch a screenlet, either through its service or by launching a new process of the given screenlet. Name has to be the name of the Screenlet's class without trailing 'Screenlet'. NOTE: we could only launch the file here

show_message(screenlet, message, title='')

source code 
Show a message for the given Screenlet (may contain Pango-Markup). If screenlet is None, this function can be used by other objects as well.

Variables Details [hide private]

AUTHORS

Value:
['RYX (Rico Pfaus) <ryx@ryxperience.com>',
 'Whise (Helder Fraga)<helder.fraga@hotmail.com>',
 'Hendrik Kaju (sorcerer)']

COMMENTS

Value:
'Screenlets are small owner-drawn applications (written in Python, a v\
ery simple object-oriented programming-language) that can be described\
 as \'the virtual representation of things lying/standing around on yo\
ur desk\'. Sticknotes, clocks, rulers, ... the possibilities are endle\
ss.'

THIRD_PARTY_DOWNLOAD

Value:
'http://screenlets.org/index.php/Category:UserScreenlets'

SCREENLETS_PATH

Value:
['/home/buildd/.screenlets', '/usr/share/screenlets']