Package pygext :: Package gl :: Package director :: Module base :: Class Director
[frames | no frames]

Type Director

object --+
         |
        Director


Scene director

The director is the element that controls the main loop and calls event handlers, updates actions etc. You should not create instances of this class manually, as the default instance is automatically initialized in pygext.gl.director.globals, and other components depend on that instance.
Method Summary
  __init__(self, resolution)
  init_gui(self)
  quit(self)
Exit from the director's mainloop.
  run(self, initial_scene, *arg, **kw)
Launch the director mainloop.
  set_scene(self, scene, *arg, **kw)
  set_state(self, state)

Method Details

quit(self)

Exit from the director's mainloop.

run(self, initial_scene, *arg, **kw)

Launch the director mainloop.

initial_scene - Scene class or instance that will be the first entered scene

Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 http://epydoc.sf.net