wxoo.spincontrol
index
p:\wxproperties\wxoo\spincontrol.py

Integer-editing control with spin buttons

 
Modules
       
wxoo.basetypetextcontrol
clip_dndc
cmndlgsc
wxoo.compositecontrol
controls2c
controlsc
wxoo.events
eventsc
filesysc
fontsc
framesc
gdic
imagec
mdic
misc2c
miscc
printfwc
sizersc
wxoo.spinner
stattoolc
streamsc
sys
types
utilsc
windows2c
windows3c
windowsc
wxPython.wx
wxPython.wxc

 
Classes
       
CompositeControl(ContainerWindow, BaseControl)
SpinControl
_IntegerMode
Formatted
_BinMode
_HexMode
wxButton(wxButtonPtr)
ModeSelect

 
class Formatted(_IntegerMode)
    Base (and decimal) integer interpretation and display mode
 
  Methods defined here:
Format(self, number)
Format the given number in a mode-appropriate manner
__init__(self, name='formatted', format='%02i', shortname='i2', base=10)

Methods inherited from _IntegerMode:
Interpret(self, text)
Interpret the text in a mode-appropriate manner

Data and other attributes inherited from _IntegerMode:
base = 10
name = 'decimal'
shortname = 'd'

 
class ModeSelect(wxButton)
    Simplistic wxButton sub-class for cycling through a set
of integer display and interpretation modes.  Defaults to
the default modes present in the spin control module.
 
 
Method resolution order:
ModeSelect
wxButton
wxButtonPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Methods defined here:
AcceptsFocusFromKeyboard(self)
This control should never accept focus
GetMode(self)
Get the current mode
NextMode(self)
Calculate the next mode
 
Todo:
        This should really just do the change and send an event
        with all of the event binding occurring here.
SetMode(self, mode)
Set the current mode
__init__(self, parent, id=-1, pos=wxPoint(-1, -1), size=(12, 20), style=0, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='modeselection', modes=[<wxoo.spincontrol._IntegerMode instance at 0x01967E40>, <wxoo.spincontrol._HexMode instance at 0x019673F0>, <wxoo.spincontrol._BinMode instance at 0x019678A0>])

Methods inherited from wxButtonPtr:
Create(self, *_args, **_kwargs)
SetBackgroundColour(self, *_args, **_kwargs)
SetDefault(self, *_args, **_kwargs)
SetForegroundColour(self, *_args, **_kwargs)
SetImageLabel(self, *_args, **_kwargs)
SetImageMargins(self, *_args, **_kwargs)
__repr__(self)

Methods inherited from wxControlPtr:
Command(self, *_args, **_kwargs)
GetLabel(self, *_args, **_kwargs)
SetLabel(self, *_args, **_kwargs)

Methods inherited from wxWindowPtr:
AcceptsFocus(self, *_args, **_kwargs)
AddChild(self, *_args, **_kwargs)
CaptureMouse(self, *_args, **_kwargs)
Center(self, *_args, **_kwargs)
CenterOnParent(self, *_args, **_kwargs)
CenterOnScreen(self, *_args, **_kwargs)
Centre(self, *_args, **_kwargs)
CentreOnParent(self, *_args, **_kwargs)
CentreOnScreen(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
ClientToScreen(self, *_args, **_kwargs)
ClientToScreenXY(self, *_args, **_kwargs)
Close(self, *_args, **_kwargs)
ConvertDialogPointToPixels(self, *_args, **_kwargs)
ConvertDialogSizeToPixels(self, *_args, **_kwargs)
ConvertPixelPointToDialog(self, *_args, **_kwargs)
ConvertPixelSizeToDialog(self, *_args, **_kwargs)
DLG_PNT(self, *_args, **_kwargs)
DLG_SZE(self, *_args, **_kwargs)
Destroy(self, *_args, **_kwargs)
DestroyChildren(self, *_args, **_kwargs)
Disable(self, *_args, **_kwargs)
DragAcceptFiles(self, *_args, **_kwargs)
Enable(self, *_args, **_kwargs)
FindWindowById(self, *_args, **_kwargs)
FindWindowByName(self, *_args, **_kwargs)
Fit(self, *_args, **_kwargs)
FitInside(self, *_args, **_kwargs)
Freeze(self, *_args, **_kwargs)
GetAcceleratorTable(self, *_args, **_kwargs)
GetAdjustedBestSize(self, *_args, **_kwargs)
GetAutoLayout(self, *_args, **_kwargs)
GetBackgroundColour(self, *_args, **_kwargs)
GetBestSize(self, *_args, **_kwargs)
GetBestVirtualSize(self, *_args, **_kwargs)
GetBorder(self, *_args, **_kwargs)
GetCaret(self, *_args, **_kwargs)
# replaces broken shadow method
GetCharHeight(self, *_args, **_kwargs)
GetCharWidth(self, *_args, **_kwargs)
GetChildren(self, *_args, **_kwargs)
GetClientAreaOrigin(self, *_args, **_kwargs)
GetClientRect(self, *_args, **_kwargs)
GetClientSize(self, *_args, **_kwargs)
GetClientSizeTuple(self, *_args, **_kwargs)
GetConstraints(self, *_args, **_kwargs)
GetContainingSizer(self, *_args, **_kwargs)
GetCursor(self, *_args, **_kwargs)
GetDefaultItem(self, *_args, **_kwargs)
GetDropTarget(self, *_args, **_kwargs)
GetEventHandler(self, *_args, **_kwargs)
GetFont(self, *_args, **_kwargs)
GetForegroundColour(self, *_args, **_kwargs)
GetFullTextExtent(self, *_args, **_kwargs)
GetGrandParent(self, *_args, **_kwargs)
GetHandle(self, *_args, **_kwargs)
GetHelpText(self, *_args, **_kwargs)
GetId(self, *_args, **_kwargs)
GetMaxSize(self, *_args, **_kwargs)
GetName(self, *_args, **_kwargs)
GetParent(self, *_args, **_kwargs)
GetPosition(self, *_args, **_kwargs)
GetPositionTuple(self, *_args, **_kwargs)
GetRect(self, *_args, **_kwargs)
GetScrollPos(self, *_args, **_kwargs)
GetScrollRange(self, *_args, **_kwargs)
GetScrollThumb(self, *_args, **_kwargs)
GetSize(self, *_args, **_kwargs)
GetSizeTuple(self, *_args, **_kwargs)
GetSizer(self, *_args, **_kwargs)
GetTextExtent(self, *_args, **_kwargs)
GetThemeEnabled(self, *_args, **_kwargs)
GetTitle(self, *_args, **_kwargs)
GetToolTip(self, *_args, **_kwargs)
GetUpdateRegion(self, *_args, **_kwargs)
GetValidator(self, *_args, **_kwargs)
GetVirtualSize(self, *_args, **_kwargs)
GetVirtualSizeTuple(self, *_args, **_kwargs)
GetWindowStyleFlag(self, *_args, **_kwargs)
HasCapture(self, *_args, **_kwargs)
HasScrollbar(self, *_args, **_kwargs)
Hide(self, *_args, **_kwargs)
HitTest(self, *_args, **_kwargs)
InitDialog(self, *_args, **_kwargs)
IsBeingDeleted(self, *_args, **_kwargs)
IsEnabled(self, *_args, **_kwargs)
IsExposed(self, *_args, **_kwargs)
IsExposedPoint(self, *_args, **_kwargs)
IsExposedRect(self, *_args, **_kwargs)
IsRetained(self, *_args, **_kwargs)
IsShown(self, *_args, **_kwargs)
IsTopLevel(self, *_args, **_kwargs)
Layout(self, *_args, **_kwargs)
LineDown(self, *_args, **_kwargs)
LineUp(self, *_args, **_kwargs)
Lower(self, *_args, **_kwargs)
MakeModal(self, *_args, **_kwargs)
Move(self, *_args, **_kwargs)
MoveXY(self, *_args, **_kwargs)
OnPaint(self, *_args, **_kwargs)
PageDown(self, *_args, **_kwargs)
PageUp(self, *_args, **_kwargs)
PopEventHandler(self, *_args, **_kwargs)
PopupMenu(self, *_args, **_kwargs)
PopupMenuXY(self, *_args, **_kwargs)
PushEventHandler(self, *_args, **_kwargs)
Raise(self, *_args, **_kwargs)
Refresh(self, *_args, **_kwargs)
RefreshRect(self, *_args, **_kwargs)
ReleaseMouse(self, *_args, **_kwargs)
RemoveChild(self, *_args, **_kwargs)
RemoveEventHandler(self, *_args, **_kwargs)
Reparent(self, *_args, **_kwargs)
ScreenToClient(self, *_args, **_kwargs)
ScreenToClientXY(self, *_args, **_kwargs)
ScrollLines(self, *_args, **_kwargs)
ScrollPages(self, *_args, **_kwargs)
ScrollWindow(self, *_args, **_kwargs)
SetAcceleratorTable(self, *_args, **_kwargs)
SetAutoLayout(self, *_args, **_kwargs)
SetCaret(self, *_args, **_kwargs)
SetClientSize(self, *_args, **_kwargs)
SetClientSizeWH(self, *_args, **_kwargs)
SetConstraints(self, *_args, **_kwargs)
SetContainingSizer(self, *_args, **_kwargs)
SetCursor(self, *_args, **_kwargs)
SetDefaultItem(self, *_args, **_kwargs)
SetDimensions(self, *_args, **_kwargs)
SetDropTarget(self, *_args, **_kwargs)
SetEventHandler(self, *_args, **_kwargs)
SetExtraStyle(self, *_args, **_kwargs)
SetFocus(self, *_args, **_kwargs)
SetFocusFromKbd(self, *_args, **_kwargs)
SetFont(self, *_args, **_kwargs)
SetHelpText(self, *_args, **_kwargs)
SetHelpTextForId(self, *_args, **_kwargs)
SetId(self, *_args, **_kwargs)
SetName(self, *_args, **_kwargs)
SetPosition(self, *_args, **_kwargs)
SetRect(self, *_args, **_kwargs)
SetScrollPos(self, *_args, **_kwargs)
SetScrollbar(self, *_args, **_kwargs)
SetSize(self, *_args, **_kwargs)
SetSizeHints(self, *_args, **_kwargs)
SetSizer(self, *_args, **_kwargs)
SetSizerAndFit(self, *_args, **_kwargs)
SetThemeEnabled(self, *_args, **_kwargs)
SetTitle(self, *_args, **_kwargs)
SetTmpDefaultItem(self, *_args, **_kwargs)
SetToolTip(self, *_args, **_kwargs)
SetToolTipString(self, *_args, **_kwargs)
SetValidator(self, *_args, **_kwargs)
SetVirtualSize(self, *_args, **_kwargs)
SetVirtualSizeHints(self, *_args, **_kwargs)
SetVirtualSizeWH(self, *_args, **_kwargs)
SetWindowStyle(self, *_args, **_kwargs)
SetWindowStyleFlag(self, *_args, **_kwargs)
Show(self, *_args, **_kwargs)
Thaw(self, *_args, **_kwargs)
TransferDataFromWindow(self, *_args, **_kwargs)
TransferDataToWindow(self, *_args, **_kwargs)
UnsetConstraints(self, *_args, **_kwargs)
Update(self, *_args, **_kwargs)
UpdateWindowUI(self, *_args, **_kwargs)
Validate(self, *_args, **_kwargs)
WarpPointer(self, *_args, **_kwargs)

Methods inherited from wxEvtHandlerPtr:
AddPendingEvent(self, *_args, **_kwargs)
Connect(self, *_args, **_kwargs)
Disconnect(self, *_args, **_kwargs)
GetEvtHandlerEnabled(self, *_args, **_kwargs)
GetNextHandler(self, *_args, **_kwargs)
GetPreviousHandler(self, *_args, **_kwargs)
ProcessEvent(self, *_args, **_kwargs)
SetEvtHandlerEnabled(self, *_args, **_kwargs)
SetNextHandler(self, *_args, **_kwargs)
SetPreviousHandler(self, *_args, **_kwargs)

Methods inherited from wxObjectPtr:
GetClassName(self, *_args, **_kwargs)

 
class SpinControl(CompositeControl)
    Integer-editing control w/ "spin buttons" & multiple editing modes
 
The purpose of the SpinControl is to provide a generic
control for editing integer values, with particular
support for using basicproperty's boundary conditions
to restrict values for the control.
 
The default style for the SpinControl is to provide
a text field  with a vertical spinner.Spinner immediately
adjacent and to the right of the text field.
 
Specifying "showModeButton" during initialization will
add a button to the left of the text control which cycles
through the available displays/interpretation modes.  
 
These modes are available as constants in the module for
specification during initialization where a non-default mode
is desired to be the initial mode.
 
Events:
 
        wxoo.events.EVT_STATUSCHANGED:
                Data is entered which is not acceptable, either
                because it could not be converted into an integer, or
                because it violated one of the set boundaries.
                
        wxoo.events.EVT_VALUECHANGED:
                The value has successfully changed, the old value
                is included in the event for processing.  Currently
                does not support vetoing the change.
 
XXX:
 
        Pageup and Pagedown mechanisms (largeIncrement)
        
        Need feedback on the current mode within the text field
        for instance, setting the background color when in different
        modes.
        
        Need drag and drop support.
        
        Adding a veto-able event might be useful, but not likely
        to actually happen.
        
        Replace status text update with an error-message event
        once we have a standardized error-event framework.
 
 
Method resolution order:
SpinControl
CompositeControl
ContainerWindow
BaseControl
wxControl
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Methods defined here:
Check(self, value)
Do bounds checking on value, raise errors if out-of-bounds
CreateControls(self, style=0)
Customization point, create internal controls
CreateModeSelect(self, parent)
Create the mode-selection button
CreateSpinner(self, parent)
Create the spinner control
CreateTextControl(self, parent)
Create the text control
Display(self, value)
Display a new value for the user, basically defers to the mode
GetModeButton(self)
Get a pointer to the mode button or None if there is no mode button
GetSpinner(self)
Get a pointer to the internal spinner control
GetTextControl(self)
Get a pointer to the internal text control
OnChar(self, event)
Handle a character event on either ourselves or our children
 
Currently only handles up and down keys
OnDecrease(self, event)
Attempt to decrease the current value
OnFinishText(self, event)
Process a text value to see if it's a valid number
OnIncrease(self, event)
Attempt to increase the current value
OnNextMode(self, event)
Handle click on the mode button, set the next mode
SendEvent(self, oldValue)
Send a value-changed event to allow watchers to see our updates
SetBoundaries(self, boundaries=())
Set boundaries to restrict data values
 
Each item should be a basicproperty.boundary.Boundary instance
 
Note: this does not attempt to apply the boundaries
to the current value of the control, only stores
a copy of the sequence for later use.
SetMode(self, mode=None)
Set the current mode object for display/interpretation of text values
 
mode is either None or an _IntegerMode object.  The module
defines three standard modes:
 
        DECMODE (default) -- base 10 operation, uses str to
                format the number and int( text, 10) to interpret
        HEXMODE -- base 16 operation, uses string format "0x%X"
                for display and int(text, 16) to interpret
        BINMODE -- base 2 operation, formats number as string
                of 0s and 1s with preceding - for numbers lower
                than 0, uses int( text, 2) for interpretation
 
Note: currently there is no visual indication within
the text control of the current mode, so specifying a
non-default mode without also specifying showModeButton (below)
may confuse your users.
 
Note: regardless of the current mode, if a value is entered
in the text field that cannot be converted by the initial
int( text, base) call, an attempt will be made to use
int(text, 0) for interpretation.
ShareValue(self, value)
Share value with our sub-controls
__init__(self, parent, id=-1, value=0, pos=wxPoint(-1, -1), size=(80, 20), style=4718592, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='integerspin', increment=1, bounds=(), mode=None, showModeButton=0)
Initialize the SpinControl
 
parent, id, pos, size, style, validator, name -- Passed to
        wxControl.__init__
value -- an integer value representing the initial value
        displayed by the control
increment -- value by which to increase/decrease the current
        value when the user clicks on the scroll buttons
bounds -- sequence of basicproperty.boundary.Boundary
        objects to check any new value generated by the control
        a BoundaryError will abort the attempt to change
        the current value and restore the display to the
        current value
mode -- specify the (initial) display and interpretation mode for
        the control. This is either None or an _IntegerMode
        object.  The module defines three standard modes:
 
                DECMODE (default) -- base 10 operation, uses str to
                        format the number and int( text, 10) to interpret
                HEXMODE -- base 16 operation, uses string format "0x%X"
                        for display and int(text, 16) to interpret
                BINMODE -- base 2 operation, formats number as string
                        of 0s and 1s with preceding - for numbers lower
                        than 0, uses int( text, 2) for interpretation
 
        Note: currently there is no visual indication within
        the text control of the current mode, so specifying a
        non-default mode without also specifying showModeButton (below)
        may confuse your users.
 
        Note: regardless of the current mode, if a value is entered
        in the text field that cannot be converted by the initial
        int( text, base) call, an attempt will be made to use
        int(text, 0) for interpretation.
 
showModeButton -- display a button to the left of the
        text control for cycling between display and interpretation
        modes.  The button if displayed is a ModeSelect button.

Methods inherited from ContainerWindow:
GetControlContainer(self)
Get the current control-container object
GetDefaultItem(self)
return container.GetDefaultItem()
OnChildFocus(self, focusEvent)
container.SetLastFocus
OnFocus(self, focusEvent)
container.HandleOnFocus
OnNavigationKey(self, navigationKeyEvent)
container.HandleOnNavigationKey
RemoveChild(self, childWindow)
container.HandleOnWindowDestroy(child), then base
SetControlContainer(self, value)
Set the current control-container object
SetDefaultItem(self, childWindow)
container.SetDefaultItem(childWindow)
SetFocus(self)
container.DoSetFocus(), calls base SetFocus if that returns false
SetTmpDefaultItem(self, childWindow)
container.SetTmpDefaultItem(childWindow)

Data and other attributes inherited from ContainerWindow:
controlContainerClass = <class wxoo.wxcontrolcontainer.ControlContainer at 0x012BD720>
ControlContainer with ability to explicitly specify tab-order
 
This is a wxoo-specific tabbing-order control
container object.  It provides a simple mechanism
for explicitly setting the focus set through
which keyboard navigation will traverse.
 
XXX Should have API for manipulating the list:
 
        AppendFocusItem
        RemoveFocusItem
        InsertFocusItem
 
or
 
        Have GetFocusChildren set the focus children
        on default get to allow for direct manipulation
        of the list.  However, this is ideologically
        fuzzy, because it is not immediately clear
        whether the focus children should then be the
        whole children set, or merely an empty list
        to begin with.

Methods inherited from BaseControl:
CollectValue(self, default=[])
Customization point: Collect current value from sub-controls
 
Default implementation just returns RetrieveValue()
GetChoices(self)
Customization point: Get the current choice-set
GetValue(self)
Customization point: Get current value from control
 
The implementation here merely retrieves the value by
returning RetrieveValue().
RetrieveChoices(self)
Customization point: Retrieve reference to choice-set
 
The point of this customization point is to allow,
for instance, storing only weak references within
the GUI to allow for re-acquiring references whenever
necessary.
RetrieveValue(self)
Customization point: Retrieve reference to edited value
 
The point of this customization point is to allow,
for instance, storing only weak references within
the GUI to allow for re-acquiring references whenever
necessary.
SaveChoices(self, value)
Customization point: Store reference to choice-set
 
The point of this customization point is to allow,
for instance, storing only weak references within
the GUI to allow for re-acquiring references whenever
necessary.
SaveValue(self, value)
Customization point: Store reference to the value
 
The point of this customization point is to allow,
for instance, storing only weak references within
the GUI to allow for re-acquiring references whenever
necessary.
SendValueChanged(self, value, previous=[])
Send a value-changed message if appropriate for value and previous
 
Sends the message if previous is not __NULL_VALUE__ and
previous is not equal to value.  "Equality" is dependent
on the compareIdentity member.  If true, then uses
        value is previous
otherwise uses:
        value != previous
SetChoices(self, choices)
Customization point: Set the current choice-set
SetValue(self, value)
Customization point: Set current value for control
 
implementation here stores value by calling
        SaveValue(value)
 
Calls SendValueChanged( value, previous )
ShareChoices(self, value)
Customization point: Share new value with sub-controls
__repr__(self)

Data and other attributes inherited from BaseControl:
choices = ()
compareIdentity = 0
currentValue = []

Methods inherited from wxControlPtr:
Command(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
GetLabel(self, *_args, **_kwargs)
SetLabel(self, *_args, **_kwargs)

Methods inherited from wxWindowPtr:
AcceptsFocus(self, *_args, **_kwargs)
AddChild(self, *_args, **_kwargs)
CaptureMouse(self, *_args, **_kwargs)
Center(self, *_args, **_kwargs)
CenterOnParent(self, *_args, **_kwargs)
CenterOnScreen(self, *_args, **_kwargs)
Centre(self, *_args, **_kwargs)
CentreOnParent(self, *_args, **_kwargs)
CentreOnScreen(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
ClientToScreen(self, *_args, **_kwargs)
ClientToScreenXY(self, *_args, **_kwargs)
Close(self, *_args, **_kwargs)
ConvertDialogPointToPixels(self, *_args, **_kwargs)
ConvertDialogSizeToPixels(self, *_args, **_kwargs)
ConvertPixelPointToDialog(self, *_args, **_kwargs)
ConvertPixelSizeToDialog(self, *_args, **_kwargs)
DLG_PNT(self, *_args, **_kwargs)
DLG_SZE(self, *_args, **_kwargs)
Destroy(self, *_args, **_kwargs)
DestroyChildren(self, *_args, **_kwargs)
Disable(self, *_args, **_kwargs)
DragAcceptFiles(self, *_args, **_kwargs)
Enable(self, *_args, **_kwargs)
FindWindowById(self, *_args, **_kwargs)
FindWindowByName(self, *_args, **_kwargs)
Fit(self, *_args, **_kwargs)
FitInside(self, *_args, **_kwargs)
Freeze(self, *_args, **_kwargs)
GetAcceleratorTable(self, *_args, **_kwargs)
GetAdjustedBestSize(self, *_args, **_kwargs)
GetAutoLayout(self, *_args, **_kwargs)
GetBackgroundColour(self, *_args, **_kwargs)
GetBestSize(self, *_args, **_kwargs)
GetBestVirtualSize(self, *_args, **_kwargs)
GetBorder(self, *_args, **_kwargs)
GetCaret(self, *_args, **_kwargs)
# replaces broken shadow method
GetCharHeight(self, *_args, **_kwargs)
GetCharWidth(self, *_args, **_kwargs)
GetChildren(self, *_args, **_kwargs)
GetClientAreaOrigin(self, *_args, **_kwargs)
GetClientRect(self, *_args, **_kwargs)
GetClientSize(self, *_args, **_kwargs)
GetClientSizeTuple(self, *_args, **_kwargs)
GetConstraints(self, *_args, **_kwargs)
GetContainingSizer(self, *_args, **_kwargs)
GetCursor(self, *_args, **_kwargs)
GetDropTarget(self, *_args, **_kwargs)
GetEventHandler(self, *_args, **_kwargs)
GetFont(self, *_args, **_kwargs)
GetForegroundColour(self, *_args, **_kwargs)
GetFullTextExtent(self, *_args, **_kwargs)
GetGrandParent(self, *_args, **_kwargs)
GetHandle(self, *_args, **_kwargs)
GetHelpText(self, *_args, **_kwargs)
GetId(self, *_args, **_kwargs)
GetMaxSize(self, *_args, **_kwargs)
GetName(self, *_args, **_kwargs)
GetParent(self, *_args, **_kwargs)
GetPosition(self, *_args, **_kwargs)
GetPositionTuple(self, *_args, **_kwargs)
GetRect(self, *_args, **_kwargs)
GetScrollPos(self, *_args, **_kwargs)
GetScrollRange(self, *_args, **_kwargs)
GetScrollThumb(self, *_args, **_kwargs)
GetSize(self, *_args, **_kwargs)
GetSizeTuple(self, *_args, **_kwargs)
GetSizer(self, *_args, **_kwargs)
GetTextExtent(self, *_args, **_kwargs)
GetThemeEnabled(self, *_args, **_kwargs)
GetTitle(self, *_args, **_kwargs)
GetToolTip(self, *_args, **_kwargs)
GetUpdateRegion(self, *_args, **_kwargs)
GetValidator(self, *_args, **_kwargs)
GetVirtualSize(self, *_args, **_kwargs)
GetVirtualSizeTuple(self, *_args, **_kwargs)
GetWindowStyleFlag(self, *_args, **_kwargs)
HasCapture(self, *_args, **_kwargs)
HasScrollbar(self, *_args, **_kwargs)
Hide(self, *_args, **_kwargs)
HitTest(self, *_args, **_kwargs)
InitDialog(self, *_args, **_kwargs)
IsBeingDeleted(self, *_args, **_kwargs)
IsEnabled(self, *_args, **_kwargs)
IsExposed(self, *_args, **_kwargs)
IsExposedPoint(self, *_args, **_kwargs)
IsExposedRect(self, *_args, **_kwargs)
IsRetained(self, *_args, **_kwargs)
IsShown(self, *_args, **_kwargs)
IsTopLevel(self, *_args, **_kwargs)
Layout(self, *_args, **_kwargs)
LineDown(self, *_args, **_kwargs)
LineUp(self, *_args, **_kwargs)
Lower(self, *_args, **_kwargs)
MakeModal(self, *_args, **_kwargs)
Move(self, *_args, **_kwargs)
MoveXY(self, *_args, **_kwargs)
OnPaint(self, *_args, **_kwargs)
PageDown(self, *_args, **_kwargs)
PageUp(self, *_args, **_kwargs)
PopEventHandler(self, *_args, **_kwargs)
PopupMenu(self, *_args, **_kwargs)
PopupMenuXY(self, *_args, **_kwargs)
PushEventHandler(self, *_args, **_kwargs)
Raise(self, *_args, **_kwargs)
Refresh(self, *_args, **_kwargs)
RefreshRect(self, *_args, **_kwargs)
ReleaseMouse(self, *_args, **_kwargs)
RemoveEventHandler(self, *_args, **_kwargs)
Reparent(self, *_args, **_kwargs)
ScreenToClient(self, *_args, **_kwargs)
ScreenToClientXY(self, *_args, **_kwargs)
ScrollLines(self, *_args, **_kwargs)
ScrollPages(self, *_args, **_kwargs)
ScrollWindow(self, *_args, **_kwargs)
SetAcceleratorTable(self, *_args, **_kwargs)
SetAutoLayout(self, *_args, **_kwargs)
SetBackgroundColour(self, *_args, **_kwargs)
SetCaret(self, *_args, **_kwargs)
SetClientSize(self, *_args, **_kwargs)
SetClientSizeWH(self, *_args, **_kwargs)
SetConstraints(self, *_args, **_kwargs)
SetContainingSizer(self, *_args, **_kwargs)
SetCursor(self, *_args, **_kwargs)
SetDimensions(self, *_args, **_kwargs)
SetDropTarget(self, *_args, **_kwargs)
SetEventHandler(self, *_args, **_kwargs)
SetExtraStyle(self, *_args, **_kwargs)
SetFocusFromKbd(self, *_args, **_kwargs)
SetFont(self, *_args, **_kwargs)
SetForegroundColour(self, *_args, **_kwargs)
SetHelpText(self, *_args, **_kwargs)
SetHelpTextForId(self, *_args, **_kwargs)
SetId(self, *_args, **_kwargs)
SetName(self, *_args, **_kwargs)
SetPosition(self, *_args, **_kwargs)
SetRect(self, *_args, **_kwargs)
SetScrollPos(self, *_args, **_kwargs)
SetScrollbar(self, *_args, **_kwargs)
SetSize(self, *_args, **_kwargs)
SetSizeHints(self, *_args, **_kwargs)
SetSizer(self, *_args, **_kwargs)
SetSizerAndFit(self, *_args, **_kwargs)
SetThemeEnabled(self, *_args, **_kwargs)
SetTitle(self, *_args, **_kwargs)
SetToolTip(self, *_args, **_kwargs)
SetToolTipString(self, *_args, **_kwargs)
SetValidator(self, *_args, **_kwargs)
SetVirtualSize(self, *_args, **_kwargs)
SetVirtualSizeHints(self, *_args, **_kwargs)
SetVirtualSizeWH(self, *_args, **_kwargs)
SetWindowStyle(self, *_args, **_kwargs)
SetWindowStyleFlag(self, *_args, **_kwargs)
Show(self, *_args, **_kwargs)
Thaw(self, *_args, **_kwargs)
TransferDataFromWindow(self, *_args, **_kwargs)
TransferDataToWindow(self, *_args, **_kwargs)
UnsetConstraints(self, *_args, **_kwargs)
Update(self, *_args, **_kwargs)
UpdateWindowUI(self, *_args, **_kwargs)
Validate(self, *_args, **_kwargs)
WarpPointer(self, *_args, **_kwargs)

Methods inherited from wxEvtHandlerPtr:
AddPendingEvent(self, *_args, **_kwargs)
Connect(self, *_args, **_kwargs)
Disconnect(self, *_args, **_kwargs)
GetEvtHandlerEnabled(self, *_args, **_kwargs)
GetNextHandler(self, *_args, **_kwargs)
GetPreviousHandler(self, *_args, **_kwargs)
ProcessEvent(self, *_args, **_kwargs)
SetEvtHandlerEnabled(self, *_args, **_kwargs)
SetNextHandler(self, *_args, **_kwargs)
SetPreviousHandler(self, *_args, **_kwargs)

Methods inherited from wxObjectPtr:
GetClassName(self, *_args, **_kwargs)

 
class _BinMode(_IntegerMode)
    Binary integer interpretation and display mode
 
  Methods defined here:
Format(self, number)
Format the given number in a mode-appropriate manner
 
In this case, a negative sign (if negative) followed by
a sequence of 0 and 1 digits representing the binary
digits in decreasing size order, for example:
 
        -5    ->    -101
         5    ->     101
         8    ->    1000
        -8    ->   -1000
         0    ->       0

Data and other attributes defined here:
base = 2
name = 'binary'
shortname = 'b'

Methods inherited from _IntegerMode:
Interpret(self, text)
Interpret the text in a mode-appropriate manner

 
class _HexMode(_IntegerMode)
    Hexidecimal integer interpretation and display mode
 
  Methods defined here:
Format(self, number)
Format the given number in a mode-appropriate manner
 
In this case, a capitalized hexidecimal with leading 0x
to force interpretation as hexidecimal.

Data and other attributes defined here:
base = 16
name = 'hexidecimal'
shortname = 'h'

Methods inherited from _IntegerMode:
Interpret(self, text)
Interpret the text in a mode-appropriate manner

 
class _IntegerMode
    Base (and decimal) integer interpretation and display mode
 
  Methods defined here:
Format(self, number)
Format the given number in a mode-appropriate manner
Interpret(self, text)
Interpret the text in a mode-appropriate manner

Data and other attributes defined here:
base = 10
name = 'decimal'
shortname = 'd'

 
Data
        BINMODE = <wxoo.spincontrol._BinMode instance at 0x019678A0>
DECMODE = <wxoo.spincontrol._IntegerMode instance at 0x01967E40>
DEFAULT_MODES = [<wxoo.spincontrol._IntegerMode instance at 0x01967E40>, <wxoo.spincontrol._HexMode instance at 0x019673F0>, <wxoo.spincontrol._BinMode instance at 0x019678A0>]
HEXMODE = <wxoo.spincontrol._HexMode instance at 0x019673F0>