blindstation.scene
index
/home/sable/test/blindstation-1.0.7/blindstation-1.0.7/test/blindstation/scene.py

Scene related classes

 
Modules
       
blindstation
weakref

 
Classes
       
__builtin__.object
Scene

 
class Scene(__builtin__.object)
    Scene is a major sequence of a Game
 
  Methods defined here:
__del__(self)
__init__(self, game, name, state=None)
create(self)
focus_next(self)
focus_prev(self)
get_background(self, background)
get_color(self)
get the Scene background color
get_focus(self)
get_state(self)
get_stylesheet(self)
get_zoom_mode(self)
register_timer(self, timer)
register_widget(self, widget)
run(self, event)
run is a method lauched each time an event occurs. It must
handle the event or pass it to other objects that could handle
it.
set_background(self, background)
set_color(self, color)
set the background color with the red, green, blue and apha component
values can be between 0-255 with a=0 for transparent and a=255 for solid
set_focus(self, index)
set_navigator(self, navigator)
set_state(self, name)
set_zoom_mode(self, state)
unregister_timer(self, id)
unregister_widget(self, id)
update(self)

Properties defined here:
background
Background picture to be displayed by the widget
get = get_background(self, background)
set = set_background(self, background)
color
The backgroung color attribut
get = get_color(self)
set = set_color(self, color)
focus
Current widget with focus
get = get_focus(self)
set = set_focus(self, index)
navigator
The navigator component of the scene
set = set_navigator(self, navigator)
state
State of the widget relating to the xml resource file
get = get_state(self)
set = set_state(self, name)
stylesheet
Part of the stylesheet related to this scene
get = get_stylesheet(self)
zoom_mode
Change the zoom mode
get = get_zoom_mode(self)
set = set_zoom_mode(self, state)

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'Scene' objects>
list of weak references to the object (if defined)