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

Core widget set for pdk.

FOG 08.2001

 
Classes
            
ChoiceMixin
pdkChoice(ChoiceMixin, _SingleChoiceWidget, wxPython.controls.wxChoice)
ComboBoxMixin
pdkComboBox(ComboBoxMixin, _SingleChoiceWidget, wxPython.controls.wxComboBox)
ListBoxMixin
pdkListBox(ListBoxMixin, _SingleChoiceWidget, wxPython.controls.wxListBox)
pdk.Base.OptionHandler
pdkWidget(pdk.Gui.WidgetStateManagers.StatefulWidget, pdk.Base.OptionHandler)
_SingleChoiceWidget
pdkCheckBox(wxPython.controls.wxCheckBox, pdkWidget, _ToggleButtonMixin)
pdkDialog(wxPython.frames.wxDialog, pdkWidget)
pdkFrame(wxPython.frames.wxFrame, pdkWidget)
pdkMenu(wxPython.windows.wxMenu, pdkWidget)
pdkMenuBar(wxPython.windows.wxMenuBar, pdkWidget)
pdkMenuItem(wxPython.windows.wxMenuItem, pdkWidget)
pdkMiniFrame(wxPython.frames.wxMiniFrame, pdkWidget)
pdkNotebook(wxPython.windows2.wxNotebook, pdkWidget)
pdkPanel(wxPython.windows.wxPanel, pdkWidget)
pdkRadioButton(wxPython.controls.wxRadioButton, pdkWidget, _ToggleButtonMixin)
pdkSplitterWindow(wxPython.windows2.wxSplitterWindow, pdkWidget)
pdkStaticBox(wxPython.windows.wxPanel, pdkWidget)
pdkStatusBar(wxPython.stattool.wxStatusBar, pdkWidget)
pdkTextCtrl(wxPython.controls.wxTextCtrl, pdkWidget)
_ValidatedTextCtrl(pdkTextCtrl, _ValidatedWidget)
_NumberTextCtrl
pdkFloatTextCtrl
pdkIntegerTextCtrl
pdkDateTimeTextCtrl
pdkToggleButton(wxPython.lib.buttons.wxGenToggleButton, pdkWidget)
pdkTreeCtrl(pdkWidget, wxPython.controls2.wxTreeCtrl)
pdk.Gui.WidgetStateManagers.StatefulWidget
pdkWidget(pdk.Gui.WidgetStateManagers.StatefulWidget, pdk.Base.OptionHandler)
_SingleChoiceWidget
pdkCheckBox(wxPython.controls.wxCheckBox, pdkWidget, _ToggleButtonMixin)
pdkDialog(wxPython.frames.wxDialog, pdkWidget)
pdkFrame(wxPython.frames.wxFrame, pdkWidget)
pdkMenu(wxPython.windows.wxMenu, pdkWidget)
pdkMenuBar(wxPython.windows.wxMenuBar, pdkWidget)
pdkMenuItem(wxPython.windows.wxMenuItem, pdkWidget)
pdkMiniFrame(wxPython.frames.wxMiniFrame, pdkWidget)
pdkNotebook(wxPython.windows2.wxNotebook, pdkWidget)
pdkPanel(wxPython.windows.wxPanel, pdkWidget)
pdkRadioButton(wxPython.controls.wxRadioButton, pdkWidget, _ToggleButtonMixin)
pdkSplitterWindow(wxPython.windows2.wxSplitterWindow, pdkWidget)
pdkStaticBox(wxPython.windows.wxPanel, pdkWidget)
pdkStatusBar(wxPython.stattool.wxStatusBar, pdkWidget)
pdkTextCtrl(wxPython.controls.wxTextCtrl, pdkWidget)
_ValidatedTextCtrl(pdkTextCtrl, _ValidatedWidget)
_NumberTextCtrl
pdkFloatTextCtrl
pdkIntegerTextCtrl
pdkDateTimeTextCtrl
pdkToggleButton(wxPython.lib.buttons.wxGenToggleButton, pdkWidget)
pdkTreeCtrl(pdkWidget, wxPython.controls2.wxTreeCtrl)
_ToggleButtonMixin
wxPython.controls.wxButton(wxPython.controls.wxButtonPtr)
pdkButton
wxPython.controls.wxCheckBox(wxPython.controls.wxCheckBoxPtr)
pdkCheckBox(wxPython.controls.wxCheckBox, pdkWidget, _ToggleButtonMixin)
wxPython.frames.wxDialog(wxPython.frames.wxDialogPtr)
pdkDialog(wxPython.frames.wxDialog, pdkWidget)
wxPython.frames.wxFrame(wxPython.frames.wxFramePtr)
pdkFrame(wxPython.frames.wxFrame, pdkWidget)
wxPython.lib.buttons.wxGenToggleButton(wxPython.lib.buttons.__ToggleMixin, wxPython.lib.buttons.wxGenButton)
pdkToggleButton(wxPython.lib.buttons.wxGenToggleButton, pdkWidget)
wxPython.windows.wxMenu(wxPython.windows.wxMenuPtr)
pdkMenu(wxPython.windows.wxMenu, pdkWidget)
wxPython.windows.wxMenuBar(wxPython.windows.wxMenuBarPtr)
pdkMenuBar(wxPython.windows.wxMenuBar, pdkWidget)
wxPython.windows.wxMenuItem(wxPython.windows.wxMenuItemPtr)
pdkMenuItem(wxPython.windows.wxMenuItem, pdkWidget)
wxPython.frames.wxMiniFrame(wxPython.frames.wxMiniFramePtr)
pdkMiniFrame(wxPython.frames.wxMiniFrame, pdkWidget)
wxPython.windows2.wxNotebook(wxPython.windows2.wxNotebookPtr)
pdkNotebook(wxPython.windows2.wxNotebook, pdkWidget)
wxPython.windows.wxPanel(wxPython.windows.wxPanelPtr)
pdkPanel(wxPython.windows.wxPanel, pdkWidget)
pdkStaticBox(wxPython.windows.wxPanel, pdkWidget)
wxPython.controls.wxRadioButton(wxPython.controls.wxRadioButtonPtr)
pdkRadioButton(wxPython.controls.wxRadioButton, pdkWidget, _ToggleButtonMixin)
wxPython.windows2.wxSplitterWindow(wxPython.windows2.wxSplitterWindowPtr)
pdkSplitterWindow(wxPython.windows2.wxSplitterWindow, pdkWidget)
wxPython.stattool.wxStatusBar(wxPython.stattool.wxStatusBarPtr)
pdkStatusBar(wxPython.stattool.wxStatusBar, pdkWidget)
wxPython.controls.wxTextCtrl(wxPython.controls.wxTextCtrlPtr)
pdkTextCtrl(wxPython.controls.wxTextCtrl, pdkWidget)
_ValidatedTextCtrl(pdkTextCtrl, _ValidatedWidget)
_NumberTextCtrl
pdkFloatTextCtrl
pdkIntegerTextCtrl
pdkDateTimeTextCtrl
 
class pdkButton(wxPython.controls.wxButton)
     
Purpose:a button for pdk

 
  
Method resolution order:
pdkButton
wxPython.controls.wxButton
wxPython.controls.wxButtonPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr

Methods defined here:
Enable(self, enableFlag)
this fixes an annoying bug under GTK/Linux where the button is not activated when Enable(True) is called with the mouse pointer already positioned in the button widget.
 
class pdkCheckBox(wxPython.controls.wxCheckBox, pdkWidget, _ToggleButtonMixin)
     
Purpose:check box widget for pdk

 
  
Method resolution order:
pdkCheckBox
wxPython.controls.wxCheckBox
wxPython.controls.wxCheckBoxPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ToggleButtonMixin

Methods defined here:
SetValue(self, state)
getButtonEvent(self)
 
class pdkChoice(ChoiceMixin, _SingleChoiceWidget, wxPython.controls.wxChoice)
     
Purpose:extended wxPython.wx.wxChoice. See _SingleChoiceWidget for details.

 
  
Method resolution order:
pdkChoice
ChoiceMixin
_SingleChoiceWidget
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
wxPython.controls.wxChoice
wxPython.controls.wxChoicePtr
wxPython.controls.wxControlWithItemsPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
 
class pdkComboBox(ComboBoxMixin, _SingleChoiceWidget, wxPython.controls.wxComboBox)
     
Purpose:extended wxPython.wx.wxComboBox. See _SingleChoiceWidget for details.

 
  
Method resolution order:
pdkComboBox
ComboBoxMixin
_SingleChoiceWidget
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
wxPython.controls.wxComboBox
wxPython.controls.wxComboBoxPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
 
class pdkDateTimeTextCtrl(_ValidatedTextCtrl)
     
Purpose:a text control that accepts only date/time literals

 
  
Method resolution order:
pdkDateTimeTextCtrl
_ValidatedTextCtrl
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ValidatedWidget

Methods defined here:
__init__(self, parent, wxId, **optionD)
setConversionFormat(self, formatString)
setDisplayFormat(self, formatString)

Data and non-method functions defined here:
WIDGETOPTIONS = {'conversionFormat': '%a %b %d %H:%M:%S %Y', 'displayFormat': '%m-%d %H:%M', 'initialValue': 'Tue Dec 17 14:49:59 2002'}
 
class pdkDialog(wxPython.frames.wxDialog, pdkWidget)
     
Purpose:dialog for pdk

 
  
Method resolution order:
pdkDialog
wxPython.frames.wxDialog
wxPython.frames.wxDialogPtr
wxPython.frames.wxTopLevelWindowPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
OnClose(self, ev)
__init__(self, parent, wxId, title, **optionD)
 
class pdkFloatTextCtrl(_NumberTextCtrl)
     
Purpose:a text control that accepts only float literals

 
  
Method resolution order:
pdkFloatTextCtrl
_NumberTextCtrl
_ValidatedTextCtrl
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ValidatedWidget

Data and non-method functions defined here:
VARIABLECLASS = <class pdk.Variables.FloatVariable>
Purpose:implements a float variable
 
class pdkFrame(wxPython.frames.wxFrame, pdkWidget)
     
Purpose:wxFrame with integrated menu-/status-/toolbar
Detail:

automatically attaches a menubar, a status bar, a tool bar, and an accelerator table, if any (or all) of these were defined as children of the frame. Operates by testing whether the child widget is a subclass of the appropriate wxPython base classes; (wxMenuBarPtr,``wxStatusBarPtr``,``wxToolBarPtr``, and wxAcceleratorTablePtr).

Signals pdk.Messaging.MSG_EXIT if a menuitem with id "MENUITEM_EXIT" is defined and then clicked.

Signals pdk.Messaging.MSG_CLOSE and closes the frame if the close system menu is clicked.

Unlike in the original wxFrame, the title argument is optional and defaults to the empty string.


 
  
Method resolution order:
pdkFrame
wxPython.frames.wxFrame
wxPython.frames.wxFramePtr
wxPython.frames.wxTopLevelWindowPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
OnClose(self, ev)
OnExit(self, ev)
__init__(self, parent=None, wxId=-1, title='', fullsize=0, center=1, **optionD)
onInstantiate(self, *childIdStringT)
onSignalExit(self)
 
class pdkMiniFrame(wxPython.frames.wxMiniFrame, pdkWidget)
     
Purpose:a MiniFrame for pdk

 
  
Method resolution order:
pdkMiniFrame
wxPython.frames.wxMiniFrame
wxPython.frames.wxMiniFramePtr
wxPython.frames.wxFramePtr
wxPython.frames.wxTopLevelWindowPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
OnClose(self, ev)
onInstantiate(self, *childIdStringT)
onSignalExit(self)
 
class pdkIntegerTextCtrl(_NumberTextCtrl)
     
Purpose:a text control that accepts only integer literals

 
  
Method resolution order:
pdkIntegerTextCtrl
_NumberTextCtrl
_ValidatedTextCtrl
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ValidatedWidget

Data and non-method functions defined here:
VARIABLECLASS = <class pdk.Variables.IntVariable>
Purpose:implements an integer variable
Detail:note that this class subsumes the two Python types int and long (i.e., if a value/literal is too big for a plain int, it is automatically converted to a long).
 
class pdkListBox(ListBoxMixin, _SingleChoiceWidget, wxPython.controls.wxListBox)
     
Purpose:extended wxPython.wx.wxListBox. See _SingleChoiceWidget for details.

 
  
Method resolution order:
pdkListBox
ListBoxMixin
_SingleChoiceWidget
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
wxPython.controls.wxListBox
wxPython.controls.wxListBoxPtr
wxPython.controls.wxControlWithItemsPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
 
class pdkMenu(wxPython.windows.wxMenu, pdkWidget)
     
Purpose:menu for pdk
Detail:
defines additional widget options
  • header: corresponds to the title option in the original wxMenu (a header shown in a popup wxMenu)
  • title: sets the title string for the menu in the menu bar/in the parent menu

Works with the standard wxMenuItem class.

Special menu item IDs are:
"MENUITEM_SEP" : inserts a separator into the menu "MENUITEM_BREAK" : inserts a (column) break into the menu

 
  
Method resolution order:
pdkMenu
wxPython.windows.wxMenu
wxPython.windows.wxMenuPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__init__(self, parent, wxId, **optionD)
getHeader(self)
getTitle(self)
onInstantiate(self, *menuItemIdT)

Data and non-method functions defined here:
WIDGETOPTIONS = {'header': '', 'title': 'Menu'}
 
class pdkMenuBar(wxPython.windows.wxMenuBar, pdkWidget)
     
Purpose:menu bar for pdk

 
  
Method resolution order:
pdkMenuBar
wxPython.windows.wxMenuBar
wxPython.windows.wxMenuBarPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__init__(self, parent, wxId)
onInstantiate(self, *menuIdT)
 
class pdkMenuItem(wxPython.windows.wxMenuItem, pdkWidget)
     
Purpose:a menu item for pdk

 
  
Method resolution order:
pdkMenuItem
wxPython.windows.wxMenuItem
wxPython.windows.wxMenuItemPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
 
class pdkNotebook(wxPython.windows2.wxNotebook, pdkWidget)
     
Purpose:a notebook that provides access to the Python objects contained in the pages

 
  
Method resolution order:
pdkNotebook
wxPython.windows2.wxNotebook
wxPython.windows2.wxNotebookPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
AddPage(self, window, *argT, **optionD)
DeleteAllPages(self)
DeletePage(self, index)
GetPyPage(self, index)
GetSelectedPyPage(self)
GetValue = GetSelection(self, *_args, **_kwargs)
InsertPage(self, window, index, *argT, **optionD)
RemovePage(self, index)
SetValue(self, value)
__init__(self, parent, wxId, **optionD)
onInstantiate(self, *pageIdT, **id2LabelD)
 
class pdkPanel(wxPython.windows.wxPanel, pdkWidget)
     
Purpose:a panel for pdk

 
  
Method resolution order:
pdkPanel
wxPython.windows.wxPanel
wxPython.windows.wxPanelPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
 
class pdkRadioButton(wxPython.controls.wxRadioButton, pdkWidget, _ToggleButtonMixin)
     
Purpose:radio button widget for pdk

 
  
Method resolution order:
pdkRadioButton
wxPython.controls.wxRadioButton
wxPython.controls.wxRadioButtonPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ToggleButtonMixin

Methods defined here:
SetValue(self, state)
getButtonEvent(self)
 
class pdkSplitterWindow(wxPython.windows2.wxSplitterWindow, pdkWidget)
     
Purpose:a sash window for pdk

 
  
Method resolution order:
pdkSplitterWindow
wxPython.windows2.wxSplitterWindow
wxPython.windows2.wxSplitterWindowPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__init__(self, parent, wxId, **optionD)
onInstantiate(self, *childIdT)
setRelativeSashPosition(self, position)

Data and non-method functions defined here:
WIDGETOPTIONS = {'minimumPaneSize': 0, 'orientation': 8, 'relativeSashPosition': <pdk.Base.Option object>}
 
class pdkStaticBox(wxPython.windows.wxPanel, pdkWidget)
     
Purpose:static box for pdk

 
  
Method resolution order:
pdkStaticBox
wxPython.windows.wxPanel
wxPython.windows.wxPanelPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__init__(self, parent, wxId, title, **optionD)
# under Linux, wxStaticBox cannot be a parent for some reason. So # we create a panel that will serve as parent for the children and # slap a static box of the same size on top of it:

Data and non-method functions defined here:
WIDGETOPTIONS = {'padding': 5}
 
class pdkStatusBar(wxPython.stattool.wxStatusBar, pdkWidget)
     
Purpose:a status bar for pdk

 
  
Method resolution order:
pdkStatusBar
wxPython.stattool.wxStatusBar
wxPython.stattool.wxStatusBarPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
SetStatusText(self, text)
__init__(self, parent, wxId, **optionD)

Data and non-method functions defined here:
WIDGETOPTIONS = {'fieldWidths': None, 'numberFields': 1}
 
class pdkTextCtrl(wxPython.controls.wxTextCtrl, pdkWidget)
     
Purpose:text ctrl for pdk

 
  
Method resolution order:
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__init__(self, parent, wxId, **optionD)
setState(self, stateType, data)
 
class pdkTreeCtrl(pdkWidget, wxPython.controls2.wxTreeCtrl)
     
Purpose: a pdk tree control

 
  
Method resolution order:
pdkTreeCtrl
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
wxPython.controls2.wxTreeCtrl
wxPython.controls2.wxTreeCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr

Methods defined here:
__init__(self, parent, wxId, **optionD)

Data and non-method functions defined here:
WIDGETOPTIONS = {'imageList': None}
 
class pdkToggleButton(wxPython.lib.buttons.wxGenToggleButton, pdkWidget)
     
Purpose:slightly improved toggle button with focus indicator disabled on default

 
  
Method resolution order:
pdkToggleButton
wxPython.lib.buttons.wxGenToggleButton
wxPython.lib.buttons.__ToggleMixin
wxPython.lib.buttons.wxGenButton
wxPython.windows2.wxPyControl
wxPython.windows2.wxPyControlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
GetValue = GetToggle(self)
SetToggle(self, state)
SetValue(self, state)
__init__(self, *argT, **optionD)

Data and non-method functions defined here:
WIDGETOPTIONS = {'enableFocusIndicator': 0}
 
class pdkWidget(pdk.Gui.WidgetStateManagers.StatefulWidget, pdk.Base.OptionHandler)
     
Purpose:(mixin) base class for pdk widgets

 
  
Method resolution order:
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
__del__(self)
getChildContainerWidget(self, idString)
getOptionContainerName(self)
getState(self, stateType)
setChildContainerWidget(self, widget, idString=None)
setState(self, stateType, data)
sets the state data of type stateType for this widget to data. This default method does only something for "value" state data (it calls .SetValue, if defined); override to get more specialized behavior.
 
class _ToggleButtonMixin
     
Purpose:customizes toggle buttons in pdk

 
   Methods defined here:
Notify(self)
 
class ChoiceMixin
     
Purpose:mixin class for single choice widget classes deriving from wxPython.wx.wxChoice

 
   Methods defined here:
GetValue(self)
SetValue(self, stringValue)
getWxClass(self)
getWxEventId(self)
 
class _SingleChoiceWidget(pdkWidget)
     
Purpose:abstract class for single choice menu classes with extended functionality
Detail:adds .SetItems and .GetItems methods to the standard wx classes.

 
  
Method resolution order:
_SingleChoiceWidget
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler

Methods defined here:
GetItems(self)
return the items currently in the single choice widget.
SetItems(self, itemL)
fill the single choice widget with the items given in itemL.
connectStateSignal(self, callBackF)
disconnectStateSignal(self)
getState(self, stateType)
getWxClass(self)
returns the underlying wx class (wxPython.wx.wxComboBox or wxPython.wx.wxChoice or wxPython.wx.wxListBox) associated with the single choice widget.
getWxEventId(self)
returns the wx event ID associated with the single choice widget.
setState(self, stateType, data)
 
class ComboBoxMixin
     
Purpose:mixin class for single choice widget classes deriving from wxPython.wx.wxComboBox

 
   Methods defined here:
getWxClass(self)
getWxEventId(self)
 
class _ValidatedTextCtrl(pdkTextCtrl, _ValidatedWidget)
     
Purpose:a pdkTextCtrl associated with a widget validator

 
  
Method resolution order:
_ValidatedTextCtrl
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ValidatedWidget

Methods defined here:
GetValue(self)
SetValue(self, newValue)
__init__(self, parent, wxId, validator, **optionD)
getRawValue(self)
setRawValue(self, value)
 
class _NumberTextCtrl(_ValidatedTextCtrl)
     
Purpose:a text control with a validator accepting only number literals

 
  
Method resolution order:
_NumberTextCtrl
_ValidatedTextCtrl
pdkTextCtrl
wxPython.controls.wxTextCtrl
wxPython.controls.wxTextCtrlPtr
wxPython.controls.wxControlPtr
wxPython.windows.wxWindowPtr
wxPython.windows.wxEvtHandlerPtr
wxPython.misc.wxObjectPtr
pdkWidget
pdk.Gui.WidgetStateManagers.StatefulWidget
pdk.Base.OptionHandler
_ValidatedWidget

Methods defined here:
__init__(self, parent, wxId, **optionD)
setRange(self, minValue, maxValue)
sets the valid range of the number in the text control.
setState(self, stateType, data)
this makes sure the minimum value is shown after initialization from the pdk registry.

Data and non-method functions defined here:
VARIABLECLASS = <class pdk.Variables.NumberVariable>
Purpose:implements a number variable
WIDGETOPTIONS = {'maxValue': None, 'minValue': None, 'value': None}
 
class ListBoxMixin
     
Purpose:mixin class for single choice widget classes deriving from wxPython.wx.wxListBox

 
   Methods defined here:
GetValue(self)
SetValue(self, stringValue)
getWxClass(self)
getWxEventId(self)
 
Author
            
$Author: gathmann $