Package sparked :: Package graphics :: Module stage :: Class Stage
[hide private]
[frames] | no frames]

Class Stage

source code

            object --+                
                     |                
            ??.GObject --+            
                         |            
        object --+       |            
                 |       |            
gobject.GInterface --+   |            
                     |   |            
    clutter.Scriptable --+            
                         |            
             clutter.Actor --+        
                             |        
            object --+       |        
                     |       |        
    gobject.GInterface --+   |        
                         |   |        
         clutter.Container --+        
                             |        
                 clutter.Group --+    
                                 |    
                     clutter.Stage --+
                                     |
                                    Stage

Stage class.

Instance Methods [hide private]
 
__init__(self, app)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
created(self)
Callback function when the construction of the stage is complete and it is ready to be shown at the screen.
source code
 
addMonitors(self)
Add a widget to the stage which shows when one of the monitors reports an error.
source code
 
updateMonitors(self, container) source code
 
keyPress(self, actor, event)
Handle keypresses.
source code
 
isKey(self, event, keydef) source code
 
toggleFullscreen(self)
Toggle this stage fullscreen or not.
source code

Inherited from clutter.Stage: __iter__, ensure_current, ensure_redraw, ensure_viewport, event, get_actor_at_pos, get_color, get_fog, get_fullscreen, get_key_focus, get_minimum_size, get_perspective, get_throttle_motion_events, get_title, get_use_alpha, get_use_fog, get_user_resizable, hide_cursor, is_default, queue_redraw, read_pixels, set_color, set_fog, set_fullscreen, set_key_focus, set_minimum_size, set_perspective, set_throttle_motion_events, set_title, set_use_alpha, set_use_fog, set_user_resizable, show_cursor

Inherited from clutter.Group: get_n_children, get_nth_child, remove_all

Inherited from clutter.Actor: allocate, allocate_available_size, allocate_preferred_size, animate, animate_with_alpha, animate_with_timeline, apply_relative_transform_to_point, apply_transform_to_point, create_pango_context, create_pango_layout, destroy, do_allocate, do_apply_transform, do_destroy, do_get_preferred_height, do_get_preferred_width, do_hide_all, do_map, do_paint, do_parent_set, do_pick, do_queue_redraw, do_realize, do_show, do_show_all, do_unmap, do_unrealize, get_allocation_box, get_allocation_geometry, get_anchor_point, get_anchor_point_gravity, get_animation, get_clip, get_depth, get_fixed_position_set, get_flags, get_geometry, get_gid, get_height, get_name, get_opacity, get_paint_opacity, get_paint_visibility, get_pango_context, get_parent, get_position, get_preferred_height, get_preferred_size, get_preferred_width, get_reactive, get_request_mode, get_rotation, get_scale, get_scale_center, get_scale_gravity, get_shader, get_size, get_stage, get_text_direction, get_transformation_matrix, get_transformed_position, get_transformed_size, get_width, get_x, get_y, get_z_rotation_gravity, grab_key_focus, has_clip, has_pointer, hide, hide_all, is_in_clone_paint, is_rotated, is_scaled, lower_actor, lower_bottom, map, move_anchor_point, move_anchor_point_from_gravity, move_by, paint, pop_internal, push_internal, queue_relayout, raise_actor, raise_top, realize, remove_clip, reparent, set_anchor_point, set_anchor_point_from_gravity, set_clip, set_depth, set_fixed_position_set, set_flags, set_geometry, set_height, set_name, set_opacity, set_parent, set_position, set_reactive, set_request_mode, set_rotation, set_scale, set_scale_full, set_scale_with_gravity, set_shader, set_shader_param_float, set_shader_param_int, set_size, set_text_direction, set_width, set_x, set_y, set_z_rotation_from_gravity, should_pick_paint, show, show_all, transform_stage_point, unmap, unparent, unrealize, unset_flags

Inherited from unreachable.GObject: __cmp__, __copy__, __deepcopy__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from clutter.Scriptable: do_get_id, do_parse_custom_node, do_set_custom_property, do_set_id, get_id, parse_custom_node, set_custom_property, set_id

Inherited from clutter.Container: add, child_get, child_get_property, child_set, child_set_property, create_child_meta, destroy_child_meta, do_add, do_foreach, do_foreach_with_internals, do_get_child_meta, do_lower_child, do_raise_child, do_remove, do_sort_depth_order, find_child_by_name, foreach, foreach_with_internals, get_child_meta, get_children, install_child_meta, lower_child, raise_child, remove, sort_depth_order

Inherited from object: __format__, __getattribute__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from clutter.Stage: __gtype__

Instance Variables [hide private]
  keys = {'fullscreen': 65480, 'quit': (<flags CLUTTER_CONTROL_M...
Keymap with commonly used keys and their actions.
  debug = False
Whether debugging is enabled.
Properties [hide private]

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, app)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Instance Variable Details [hide private]

keys

Keymap with commonly used keys and their actions.
Value:
{'fullscreen': 65480,
 'quit': (<flags CLUTTER_CONTROL_MASK of type ClutterModifierType>,
          113)}

debug

Whether debugging is enabled. This is retrieved from the --debug flag from the sparkd runner.
Value:
False