pdk.Gui.Instantiate ($Date: 2002/12/17 13:45:22 $)
index
pdk/Gui/Instantiate.py

The pdk widget instantiator.

FOG 04.2001

 
Classes
            
WidgetInstantiator
 
class WidgetInstantiator
     
Purpose:base class for Python class instantiators
Detail:

the main method of this class is .instantiate, which does the following things:

1) check if the widget to be used as the wx parent widget for the widget to be instantiated is something else than the logical (XML) parent; 2) create the new instance; 3) update the widget information to carry a weak reference to the widget instance and its wx id; 4) register the widget with the main gui singleton; 5) instantiate the children; 6) call onInstantiate and onPyInit callbacks of the widget, if defined;


 
   Methods defined here:
instantiate(self, widgetInfo, parentWidget, create=None, register=None, initArguments=None, initOptions=None)
 
Author
            
$Author: finell $