pdk.Gui.Gui ($Date: 2002/12/04 10:16:27 $)
index
pdk/Gui/Gui.py

pdk core GUI classes.

FOG 10.2002

 
Classes
            
pdk.DataBaseClasses.XmlReadWriteDataBase(pdk.DataBaseClasses.XmlReadOnlyDataBase)
GuiDataBase
 
class GuiDataBase(pdk.DataBaseClasses.XmlReadWriteDataBase)
     
Purpose:DOM-based interface to XML GUI layout data

 
  
Method resolution order:
GuiDataBase
pdk.DataBaseClasses.XmlReadWriteDataBase
pdk.DataBaseClasses.XmlReadOnlyDataBase
pdk.DomClasses.PyObjectDomTree
pdk.DomClasses.DomTree

Methods defined here:
getWidgetData(self, idString)
returns the data for the pdk identifier idString from the widget data base. Dynamically adds the "idstring", "parentidstring", and "childidstrings" keys to the data found in the XML data base.
importWidgetData(self, source, parent='', insertBefore=0, persistent=0)
imports widget data from a data base specified by source as children of the node specified by the parent ID string.
removeWidgetData(self, idString)
removes the widget node specified by the pdk id idString from the widget data base. Also removes the wrapping node, if this is empty after the operation (and if the wrapping node is not the root node...).
setWidgetData(self, idString, wData)
initialize the widget node specified by the ID string idString with the data from the WidgetData instance wData. If no node of the specified pdk ID exists, it is automatically created as a child of the node specified by the "parentidstring" key in wData.
updateWidgetData(self, idString, wData)
updates the data of an existing widget from the data provided in wData, which can be either a WidgetData instance or a plain dictionary.
 
Functions
            
iswxclass(c)
pdkCleanup()
removes all traces of the GUI subsystem of pdk...
pdkInitialize(inputSource=None, storageLocator=None, **optionD)
factory function for creating the GUI subsystem of pdk. See the _Gui constructor for the arguments of this function. If called more than once, returns a reference to the singleton created in the first call.
pdkInitializeFromDb(xmlDb, nameSpace={'CmdLineOptionHandler': <class pdk.Base.CmdLineOptionHandler>, 'DEFAULT_HIDE': 7, 'DEFAULT_NEWONLY': 1, 'DEFAULT_URLPREFIX': '', 'HIDE_INHERITED': 4, 'HIDE_PRIVATE': 1, 'HIDE_PROTECTED': 2, 'Util': <module 'pdk.Util' from '/usr/local/lib/python2.2/site-packages/pdk/Util/__init__.pyc'>, '__author__': '$Author: gathmann $', '__builtins__': <module '__builtin__' (built-in)>, ...}, plugins=[], loaderClass=None, instantiatorClass=None, layouterClass=None)
factory function for creating the GUI subsystem of pdk. Is mainly used internally as it expects a pre-configured XML data source xmlDb as input.
 
Author
            
$Author: gathmann $