LogoSearch packages:      

Sourcecode: screenlets version File versions  Download package

lib::ScreenletTheme Class Reference

List of all members.


Detailed Description

ScreenletThemes are simple storages that allow loading files
as svg-handles within a theme-directory. Each Screenlet can have 
its own theme-directory. It is up to the Screenlet-developer if he
wants to let his Screenlet support themes or not. Themes are 
turned off by default - if your Screenlet uses Themes, just set the 
attribute 'theme_name' to the name of the theme's dir you want to use.
TODO: remove dict-inheritance

Definition at line 119 of file __init__.py.


Public Member Functions

def __getattr__
def __init__
def apply_option_overrides
def check_entry
def draw_circle
def draw_line
def draw_rectangle
def draw_rounded_rectangle
def draw_text
def free
def has_overrides
def hide_notification
def hide_tooltip
def load_conf
def load_png
def load_svg
def reload
def render
def show_notification
def show_tooltip

Public Attributes

 height
 option_overrides
 path
 pngs
 svgs
 width

Static Public Attributes

int height = 0
 loaded = False
 notify = None
dictionary option_overrides = {}
 p_fdesc = None
 p_layout = None
string path = ""
 tooltip = None
int width = 0

Private Member Functions

def __load_all

Private Attributes

 __author__
 __info__
 __name__
 __version__

Static Private Attributes

string __author__ = ''
string __info__ = ''
string __name__ = ''
string __version__ = ''

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

Generated by  Doxygen 1.5.1   Back to index