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

Generic editing controls for basictypes (with parsing)
 
Includes subclasses for integer, long, float and string
control types.

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

 
Classes
       
wxTextCtrl(wxTextCtrlPtr)
BaseTypeTextControl
FloatTextControl
IntegerTextControl
LongTextControl
ShortUnicodeTextControl

 
class BaseTypeTextControl(wxTextCtrl)
    Text control which uses basictypes baseType to coerce
 
Many of the basictypes baseTypes have robust
coercion routines available on the type which
include parsing routines for text values.  As
a result, these basictypes can be used
directly to implement basic value editing with
little or no customization.
 
XXX Need to fix the Enter-key binding to not
        generate an error sound
 
 
Method resolution order:
BaseTypeTextControl
wxTextCtrl
wxTextCtrlPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Methods defined here:
Describe(self, value)
Describe value as a string
 
This tries baseType.format( value ), and
failing that, uses unicode(value)
GetValue(self)
Get the currently-displayed value as base type
OnFocusLost(self, event)
Respond to losing focus in the text control
 
If we can coerce a value, and the resulting value
is not == to our currentValue, then we want to
send an event and redisplay the value.
 
If we can't, then we want to sound a bell, and
give an error-status, then redisplay the current
value.
OnTextEnter(self, event)
Respond to the enter key being pressed in the text control
 
If a value can be coerced, then the resulting value
will become our current value, be formatted, displayed
and selected, and a ValueChangedEvent will be sent.
 
Otherwise the wxBell will be rung, and a status-text
message will be sent.
SetValue(self, value)
Set the currently-edited value
__init__(self, parent, id=-1, value=None, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=1024, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='BaseTypeText')
Initialize the BaseTypeText control
 
parent, id, pos, size, style, validator, name -- passed
        to the text control initializer
value -- a value compatible with the base type, if not
        None, then will be passed to the SetValue method

Data and other attributes defined here:
baseType = None

Methods inherited from wxTextCtrlPtr:
AppendText(self, *_args, **_kwargs)
CanCopy(self, *_args, **_kwargs)
CanCut(self, *_args, **_kwargs)
CanPaste(self, *_args, **_kwargs)
CanRedo(self, *_args, **_kwargs)
CanUndo(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
Copy(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
Cut(self, *_args, **_kwargs)
DiscardEdits(self, *_args, **_kwargs)
EmulateKeyPress(self, *_args, **_kwargs)
GetDefaultStyle(self, *_args, **_kwargs)
GetInsertionPoint(self, *_args, **_kwargs)
GetLastPosition(self, *_args, **_kwargs)
GetLineLength(self, *_args, **_kwargs)
GetLineText(self, *_args, **_kwargs)
GetNumberOfLines(self, *_args, **_kwargs)
GetRange(self, *_args, **_kwargs)
GetSelection(self, *_args, **_kwargs)
GetString(self, *_args, **_kwargs)
GetStringSelection(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsModified(self, *_args, **_kwargs)
IsMultiLine(self, *_args, **_kwargs)
IsSingleLine(self, *_args, **_kwargs)
LoadFile(self, *_args, **_kwargs)
Paste(self, *_args, **_kwargs)
PositionToXY(self, *_args, **_kwargs)
Redo(self, *_args, **_kwargs)
Remove(self, *_args, **_kwargs)
Replace(self, *_args, **_kwargs)
SaveFile(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SetDefaultStyle(self, *_args, **_kwargs)
SetEditable(self, *_args, **_kwargs)
SetInsertionPoint(self, *_args, **_kwargs)
SetInsertionPointEnd(self, *_args, **_kwargs)
SetMaxLength(self, *_args, **_kwargs)
SetSelection(self, *_args, **_kwargs)
SetStyle(self, *_args, **_kwargs)
ShowPosition(self, *_args, **_kwargs)
Undo(self, *_args, **_kwargs)
WriteText(self, *_args, **_kwargs)
XYToPosition(self, *_args, **_kwargs)
__repr__(self)
write(self, *_args, **_kwargs)

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)
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)
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)
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)
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)
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 FloatTextControl(BaseTypeTextControl)
    Floating-point text control
 
 
Method resolution order:
FloatTextControl
BaseTypeTextControl
wxTextCtrl
wxTextCtrlPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Data and other attributes defined here:
baseType = <class 'basictypes.basic_types.Float_DT'>
Integer data-type specifier

Methods inherited from BaseTypeTextControl:
Describe(self, value)
Describe value as a string
 
This tries baseType.format( value ), and
failing that, uses unicode(value)
GetValue(self)
Get the currently-displayed value as base type
OnFocusLost(self, event)
Respond to losing focus in the text control
 
If we can coerce a value, and the resulting value
is not == to our currentValue, then we want to
send an event and redisplay the value.
 
If we can't, then we want to sound a bell, and
give an error-status, then redisplay the current
value.
OnTextEnter(self, event)
Respond to the enter key being pressed in the text control
 
If a value can be coerced, then the resulting value
will become our current value, be formatted, displayed
and selected, and a ValueChangedEvent will be sent.
 
Otherwise the wxBell will be rung, and a status-text
message will be sent.
SetValue(self, value)
Set the currently-edited value
__init__(self, parent, id=-1, value=None, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=1024, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='BaseTypeText')
Initialize the BaseTypeText control
 
parent, id, pos, size, style, validator, name -- passed
        to the text control initializer
value -- a value compatible with the base type, if not
        None, then will be passed to the SetValue method

Methods inherited from wxTextCtrlPtr:
AppendText(self, *_args, **_kwargs)
CanCopy(self, *_args, **_kwargs)
CanCut(self, *_args, **_kwargs)
CanPaste(self, *_args, **_kwargs)
CanRedo(self, *_args, **_kwargs)
CanUndo(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
Copy(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
Cut(self, *_args, **_kwargs)
DiscardEdits(self, *_args, **_kwargs)
EmulateKeyPress(self, *_args, **_kwargs)
GetDefaultStyle(self, *_args, **_kwargs)
GetInsertionPoint(self, *_args, **_kwargs)
GetLastPosition(self, *_args, **_kwargs)
GetLineLength(self, *_args, **_kwargs)
GetLineText(self, *_args, **_kwargs)
GetNumberOfLines(self, *_args, **_kwargs)
GetRange(self, *_args, **_kwargs)
GetSelection(self, *_args, **_kwargs)
GetString(self, *_args, **_kwargs)
GetStringSelection(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsModified(self, *_args, **_kwargs)
IsMultiLine(self, *_args, **_kwargs)
IsSingleLine(self, *_args, **_kwargs)
LoadFile(self, *_args, **_kwargs)
Paste(self, *_args, **_kwargs)
PositionToXY(self, *_args, **_kwargs)
Redo(self, *_args, **_kwargs)
Remove(self, *_args, **_kwargs)
Replace(self, *_args, **_kwargs)
SaveFile(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SetDefaultStyle(self, *_args, **_kwargs)
SetEditable(self, *_args, **_kwargs)
SetInsertionPoint(self, *_args, **_kwargs)
SetInsertionPointEnd(self, *_args, **_kwargs)
SetMaxLength(self, *_args, **_kwargs)
SetSelection(self, *_args, **_kwargs)
SetStyle(self, *_args, **_kwargs)
ShowPosition(self, *_args, **_kwargs)
Undo(self, *_args, **_kwargs)
WriteText(self, *_args, **_kwargs)
XYToPosition(self, *_args, **_kwargs)
__repr__(self)
write(self, *_args, **_kwargs)

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)
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)
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)
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)
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)
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 IntegerTextControl(BaseTypeTextControl)
    Integer text control
 
 
Method resolution order:
IntegerTextControl
BaseTypeTextControl
wxTextCtrl
wxTextCtrlPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Data and other attributes defined here:
baseType = <class 'basictypes.basic_types.Int_DT'>
Integer data-type specifier

Methods inherited from BaseTypeTextControl:
Describe(self, value)
Describe value as a string
 
This tries baseType.format( value ), and
failing that, uses unicode(value)
GetValue(self)
Get the currently-displayed value as base type
OnFocusLost(self, event)
Respond to losing focus in the text control
 
If we can coerce a value, and the resulting value
is not == to our currentValue, then we want to
send an event and redisplay the value.
 
If we can't, then we want to sound a bell, and
give an error-status, then redisplay the current
value.
OnTextEnter(self, event)
Respond to the enter key being pressed in the text control
 
If a value can be coerced, then the resulting value
will become our current value, be formatted, displayed
and selected, and a ValueChangedEvent will be sent.
 
Otherwise the wxBell will be rung, and a status-text
message will be sent.
SetValue(self, value)
Set the currently-edited value
__init__(self, parent, id=-1, value=None, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=1024, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='BaseTypeText')
Initialize the BaseTypeText control
 
parent, id, pos, size, style, validator, name -- passed
        to the text control initializer
value -- a value compatible with the base type, if not
        None, then will be passed to the SetValue method

Methods inherited from wxTextCtrlPtr:
AppendText(self, *_args, **_kwargs)
CanCopy(self, *_args, **_kwargs)
CanCut(self, *_args, **_kwargs)
CanPaste(self, *_args, **_kwargs)
CanRedo(self, *_args, **_kwargs)
CanUndo(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
Copy(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
Cut(self, *_args, **_kwargs)
DiscardEdits(self, *_args, **_kwargs)
EmulateKeyPress(self, *_args, **_kwargs)
GetDefaultStyle(self, *_args, **_kwargs)
GetInsertionPoint(self, *_args, **_kwargs)
GetLastPosition(self, *_args, **_kwargs)
GetLineLength(self, *_args, **_kwargs)
GetLineText(self, *_args, **_kwargs)
GetNumberOfLines(self, *_args, **_kwargs)
GetRange(self, *_args, **_kwargs)
GetSelection(self, *_args, **_kwargs)
GetString(self, *_args, **_kwargs)
GetStringSelection(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsModified(self, *_args, **_kwargs)
IsMultiLine(self, *_args, **_kwargs)
IsSingleLine(self, *_args, **_kwargs)
LoadFile(self, *_args, **_kwargs)
Paste(self, *_args, **_kwargs)
PositionToXY(self, *_args, **_kwargs)
Redo(self, *_args, **_kwargs)
Remove(self, *_args, **_kwargs)
Replace(self, *_args, **_kwargs)
SaveFile(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SetDefaultStyle(self, *_args, **_kwargs)
SetEditable(self, *_args, **_kwargs)
SetInsertionPoint(self, *_args, **_kwargs)
SetInsertionPointEnd(self, *_args, **_kwargs)
SetMaxLength(self, *_args, **_kwargs)
SetSelection(self, *_args, **_kwargs)
SetStyle(self, *_args, **_kwargs)
ShowPosition(self, *_args, **_kwargs)
Undo(self, *_args, **_kwargs)
WriteText(self, *_args, **_kwargs)
XYToPosition(self, *_args, **_kwargs)
__repr__(self)
write(self, *_args, **_kwargs)

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)
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)
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)
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)
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)
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 LongTextControl(BaseTypeTextControl)
    Long-integer text control
 
 
Method resolution order:
LongTextControl
BaseTypeTextControl
wxTextCtrl
wxTextCtrlPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Data and other attributes defined here:
baseType = <class 'basictypes.basic_types.Long_DT'>
Long-integer data-type specifier

Methods inherited from BaseTypeTextControl:
Describe(self, value)
Describe value as a string
 
This tries baseType.format( value ), and
failing that, uses unicode(value)
GetValue(self)
Get the currently-displayed value as base type
OnFocusLost(self, event)
Respond to losing focus in the text control
 
If we can coerce a value, and the resulting value
is not == to our currentValue, then we want to
send an event and redisplay the value.
 
If we can't, then we want to sound a bell, and
give an error-status, then redisplay the current
value.
OnTextEnter(self, event)
Respond to the enter key being pressed in the text control
 
If a value can be coerced, then the resulting value
will become our current value, be formatted, displayed
and selected, and a ValueChangedEvent will be sent.
 
Otherwise the wxBell will be rung, and a status-text
message will be sent.
SetValue(self, value)
Set the currently-edited value
__init__(self, parent, id=-1, value=None, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=1024, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='BaseTypeText')
Initialize the BaseTypeText control
 
parent, id, pos, size, style, validator, name -- passed
        to the text control initializer
value -- a value compatible with the base type, if not
        None, then will be passed to the SetValue method

Methods inherited from wxTextCtrlPtr:
AppendText(self, *_args, **_kwargs)
CanCopy(self, *_args, **_kwargs)
CanCut(self, *_args, **_kwargs)
CanPaste(self, *_args, **_kwargs)
CanRedo(self, *_args, **_kwargs)
CanUndo(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
Copy(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
Cut(self, *_args, **_kwargs)
DiscardEdits(self, *_args, **_kwargs)
EmulateKeyPress(self, *_args, **_kwargs)
GetDefaultStyle(self, *_args, **_kwargs)
GetInsertionPoint(self, *_args, **_kwargs)
GetLastPosition(self, *_args, **_kwargs)
GetLineLength(self, *_args, **_kwargs)
GetLineText(self, *_args, **_kwargs)
GetNumberOfLines(self, *_args, **_kwargs)
GetRange(self, *_args, **_kwargs)
GetSelection(self, *_args, **_kwargs)
GetString(self, *_args, **_kwargs)
GetStringSelection(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsModified(self, *_args, **_kwargs)
IsMultiLine(self, *_args, **_kwargs)
IsSingleLine(self, *_args, **_kwargs)
LoadFile(self, *_args, **_kwargs)
Paste(self, *_args, **_kwargs)
PositionToXY(self, *_args, **_kwargs)
Redo(self, *_args, **_kwargs)
Remove(self, *_args, **_kwargs)
Replace(self, *_args, **_kwargs)
SaveFile(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SetDefaultStyle(self, *_args, **_kwargs)
SetEditable(self, *_args, **_kwargs)
SetInsertionPoint(self, *_args, **_kwargs)
SetInsertionPointEnd(self, *_args, **_kwargs)
SetMaxLength(self, *_args, **_kwargs)
SetSelection(self, *_args, **_kwargs)
SetStyle(self, *_args, **_kwargs)
ShowPosition(self, *_args, **_kwargs)
Undo(self, *_args, **_kwargs)
WriteText(self, *_args, **_kwargs)
XYToPosition(self, *_args, **_kwargs)
__repr__(self)
write(self, *_args, **_kwargs)

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)
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)
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)
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)
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)
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 ShortUnicodeTextControl(BaseTypeTextControl)
    Short Unicode string text control
 
 
Method resolution order:
ShortUnicodeTextControl
BaseTypeTextControl
wxTextCtrl
wxTextCtrlPtr
wxControlPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Data and other attributes defined here:
baseType = <class 'basictypes.basic_types.String_DT'>
String (Unicode) data-type specifier

Methods inherited from BaseTypeTextControl:
Describe(self, value)
Describe value as a string
 
This tries baseType.format( value ), and
failing that, uses unicode(value)
GetValue(self)
Get the currently-displayed value as base type
OnFocusLost(self, event)
Respond to losing focus in the text control
 
If we can coerce a value, and the resulting value
is not == to our currentValue, then we want to
send an event and redisplay the value.
 
If we can't, then we want to sound a bell, and
give an error-status, then redisplay the current
value.
OnTextEnter(self, event)
Respond to the enter key being pressed in the text control
 
If a value can be coerced, then the resulting value
will become our current value, be formatted, displayed
and selected, and a ValueChangedEvent will be sent.
 
Otherwise the wxBell will be rung, and a status-text
message will be sent.
SetValue(self, value)
Set the currently-edited value
__init__(self, parent, id=-1, value=None, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=1024, validator=<wxPython.windows.wxValidatorPtr instance; proxy...++ wxValidator instance at _d80928_wxValidator_p>, name='BaseTypeText')
Initialize the BaseTypeText control
 
parent, id, pos, size, style, validator, name -- passed
        to the text control initializer
value -- a value compatible with the base type, if not
        None, then will be passed to the SetValue method

Methods inherited from wxTextCtrlPtr:
AppendText(self, *_args, **_kwargs)
CanCopy(self, *_args, **_kwargs)
CanCut(self, *_args, **_kwargs)
CanPaste(self, *_args, **_kwargs)
CanRedo(self, *_args, **_kwargs)
CanUndo(self, *_args, **_kwargs)
Clear(self, *_args, **_kwargs)
Copy(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
Cut(self, *_args, **_kwargs)
DiscardEdits(self, *_args, **_kwargs)
EmulateKeyPress(self, *_args, **_kwargs)
GetDefaultStyle(self, *_args, **_kwargs)
GetInsertionPoint(self, *_args, **_kwargs)
GetLastPosition(self, *_args, **_kwargs)
GetLineLength(self, *_args, **_kwargs)
GetLineText(self, *_args, **_kwargs)
GetNumberOfLines(self, *_args, **_kwargs)
GetRange(self, *_args, **_kwargs)
GetSelection(self, *_args, **_kwargs)
GetString(self, *_args, **_kwargs)
GetStringSelection(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsModified(self, *_args, **_kwargs)
IsMultiLine(self, *_args, **_kwargs)
IsSingleLine(self, *_args, **_kwargs)
LoadFile(self, *_args, **_kwargs)
Paste(self, *_args, **_kwargs)
PositionToXY(self, *_args, **_kwargs)
Redo(self, *_args, **_kwargs)
Remove(self, *_args, **_kwargs)
Replace(self, *_args, **_kwargs)
SaveFile(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SetDefaultStyle(self, *_args, **_kwargs)
SetEditable(self, *_args, **_kwargs)
SetInsertionPoint(self, *_args, **_kwargs)
SetInsertionPointEnd(self, *_args, **_kwargs)
SetMaxLength(self, *_args, **_kwargs)
SetSelection(self, *_args, **_kwargs)
SetStyle(self, *_args, **_kwargs)
ShowPosition(self, *_args, **_kwargs)
Undo(self, *_args, **_kwargs)
WriteText(self, *_args, **_kwargs)
XYToPosition(self, *_args, **_kwargs)
__repr__(self)
write(self, *_args, **_kwargs)

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)
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)
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)
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)
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)
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)