HappyDoc Generated Documentation .\chimera\dialogs.py

. / chimera / dialogs.py 

Chimera Dialog Support

Manage dialogs by name. Typically use would be to register the dialog class as the original display function, and reregister the dialog instance (because dialogs typically never go away, see baseDialog module documentation).

Functions   
  register 
register (
        name,
        function,
        replace=0,
        )

Register dialog creation/display function

The function is called with no arguments. The function can also be a class, or an instance of a class. If it is an instance, then the enter method is called.

  find 
find ( name,  create=0 )

Find the dialog instance for the given name.

If the name has not been registered None is returned.

If create is true then the dialog constructor function will be called if the object registered for the name is not an instance.

  reregister 
reregister ( name,  function )

Reregister dialog creation/display function

Same function variations allowed as in register.

  display 
display ( name,  wait=0 )

Display the dialog with the given name.

The registered dialog display function is called. If wait is true, then this function doesn't return until the dialog is displayed.

The dialog instance is returned if available.

Classes   

This document was automatically generated Thu Feb 02 15:18:25 2006 by HappyDoc version 3.0.a1