LogoSearch packages:      

Sourcecode: screenlets version File versions  Download package

FlowerScreenlet::FlowerScreenlet Class Reference

List of all members.


Detailed Description

A Screenlet that displays a growing plant. This plant needs really 
careful watering. It may not become wet or dry for too long (how long 
depends on the age of the flower), otherwise it will die. You always 
need to give a new plant water to make it start growing at all, if not
it may silently die before you see anything. Don't water young plants
more than once a day. (NOTE: This is still experimental)

Definition at line 38 of file FlowerScreenlet.py.


Public Member Functions

def __init__
def __setattr__
def on_draw
def on_draw_shape
def on_init
def on_menuitem_select
def on_quit

Public Attributes

 age
 avail_water
 days_wet
 state
 theme_name

Static Public Attributes

int age = 0
int avail_water = 0
int day_length = 24
int days_dry = 0
int days_wet = 0
int state = 0

Private Member Functions

def __check_status
def __check_water
def __die

Private Attributes

 __timeout
 __todays_water

Static Private Attributes

string __author__ = 'RYX (Rico Pfaus)'
 __dead = False
 __desc__ = __doc__
 __dry = False
string __name__ = 'FlowerScreenlet'
int __todays_water = 0
string __version__ = '0.3'
 __wet = False

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

Generated by  Doxygen 1.5.1   Back to index