wxoo.table.baseeditor
index
p:\wxproperties\wxoo\table\baseeditor.py

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

 
Classes
       
BaseTableWorker
BaseEditor(BaseTableWorker, wxPyGridCellEditor)
wxPyGridCellEditor(wxPyGridCellEditorPtr)
BaseEditor(BaseTableWorker, wxPyGridCellEditor)

 
class BaseEditor(BaseTableWorker, wxPyGridCellEditor)
    Base class for editors
 
 
Method resolution order:
BaseEditor
BaseTableWorker
wxPyGridCellEditor
wxPyGridCellEditorPtr
wxGridCellEditorPtr

Methods defined here:
BeginEdit(self, row, col, grid)
Create(self, parent, id, evtHandler)
Creates the editing control for this data type
EndEdit(self, row, col, grid)
GetNewValue(self)
SetSize(self, rect)
Resize the control

Data and other attributes defined here:
controlClass = None

Methods inherited from BaseTableWorker:
Clone(self)
Create a new object which is the copy of this one
*Must Override*
GetCurrentTableValue(self, row, col, grid=None)
Retrieve the current value from the table
GetGrid(self)
Return a pointer to the Python grid object (hacky workaround)
SetCurrentTableValue(self, row, col, value, grid=None)
Set the current value in table to a value
SetGrid(self, object)
### OOR Hack/workaround, the grid passed to the editor's methods
### doesn't have access to the Python object, so we have to store
### another reference to be able to get to it and use it.

Data and other attributes inherited from BaseTableWorker:
gridReference = None

Methods inherited from wxPyGridCellEditor:
__init__(self, *_args, **_kwargs)

Methods inherited from wxPyGridCellEditorPtr:
__repr__(self)
base_Destroy(self, *_args, **_kwargs)
base_HandleReturn(self, *_args, **_kwargs)
base_IsAcceptedKey(self, *_args, **_kwargs)
base_PaintBackground(self, *_args, **_kwargs)
base_SetParameters(self, *_args, **_kwargs)
base_SetSize(self, *_args, **_kwargs)
base_Show(self, *_args, **_kwargs)
base_StartingClick(self, *_args, **_kwargs)
base_StartingKey(self, *_args, **_kwargs)

Methods inherited from wxGridCellEditorPtr:
DecRef(self, *_args, **_kwargs)
Destroy(self, *_args, **_kwargs)
GetCellAttr(self, *_args, **_kwargs)
GetControl(self, *_args, **_kwargs)
HandleReturn(self, *_args, **_kwargs)
IncRef(self, *_args, **_kwargs)
IsAcceptedKey(self, *_args, **_kwargs)
IsCreated(self, *_args, **_kwargs)
PaintBackground(self, *_args, **_kwargs)
Reset(self, *_args, **_kwargs)
SetCellAttr(self, *_args, **_kwargs)
SetControl(self, *_args, **_kwargs)
SetParameters(self, *_args, **_kwargs)
Show(self, *_args, **_kwargs)
StartingClick(self, *_args, **_kwargs)
StartingKey(self, *_args, **_kwargs)

 
Functions
       
fromControl(controlClass, bases=(<class wxoo.table.baseeditor.BaseEditor at 0x01839FC0>,), dictionary=None)
Create a new BaseEditor class from a control class

 
Data
        cvar = <Global variables>
wxEVT_GRID_CELL_CHANGE = 10162
wxEVT_GRID_CELL_LEFT_CLICK = 10151
wxEVT_GRID_CELL_LEFT_DCLICK = 10153
wxEVT_GRID_CELL_RIGHT_CLICK = 10152
wxEVT_GRID_CELL_RIGHT_DCLICK = 10154
wxEVT_GRID_COL_SIZE = 10160
wxEVT_GRID_EDITOR_CREATED = 10166
wxEVT_GRID_EDITOR_HIDDEN = 10165
wxEVT_GRID_EDITOR_SHOWN = 10164
wxEVT_GRID_LABEL_LEFT_CLICK = 10155
wxEVT_GRID_LABEL_LEFT_DCLICK = 10157
wxEVT_GRID_LABEL_RIGHT_CLICK = 10156
wxEVT_GRID_LABEL_RIGHT_DCLICK = 10158
wxEVT_GRID_RANGE_SELECT = 10161
wxEVT_GRID_ROW_SIZE = 10159
wxEVT_GRID_SELECT_CELL = 10163
wxGRIDTABLE_NOTIFY_COLS_APPENDED = 2006
wxGRIDTABLE_NOTIFY_COLS_DELETED = 2007
wxGRIDTABLE_NOTIFY_COLS_INSERTED = 2005
wxGRIDTABLE_NOTIFY_ROWS_APPENDED = 2003
wxGRIDTABLE_NOTIFY_ROWS_DELETED = 2004
wxGRIDTABLE_NOTIFY_ROWS_INSERTED = 2002
wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = 2000
wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = 2001
wxGRID_VALUE_BOOL = 'bool'
wxGRID_VALUE_CHOICE = 'choice'
wxGRID_VALUE_CHOICEINT = 'choiceint'
wxGRID_VALUE_DATETIME = 'datetime'
wxGRID_VALUE_FLOAT = 'double'
wxGRID_VALUE_LONG = 'long'
wxGRID_VALUE_NUMBER = 'long'
wxGRID_VALUE_STRING = 'string'
wxGRID_VALUE_TEXT = 'string'
wxGridNoCellCoords = wxGridCellCoords(-1, -1)
wxGridNoCellRect = wxRect(-1, -1, -1, -1)