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

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

 
Classes
       
BaseEditor(BaseTableWorker, wxPyGridCellEditor)
TransientEditor

 
class TransientEditor(BaseEditor)
    
Method resolution order:
TransientEditor
BaseEditor
BaseTableWorker
wxPyGridCellEditor
wxPyGridCellEditorPtr
wxGridCellEditorPtr

Methods defined here:
BeginEdit(self, row, col, grid)
Begin editing value at row,col in grid
EndEdit(self, row, col, grid)
Complete the editing cycle

Data and other attributes defined here:
controlClass = <class wxoo.table.transientbutton.TransientButton at 0x01844240>
An "editing control" the primary function of which is to defer to a transient dialog
dialogClass = <class wxoo.table.transientdialog.TransientDialog at 0x018440F0>
Transient frame/dialogue for editing property values
 
The primary features of the transient dialogue are the
mechanisms for interacting with the grid editor in such
a way as to allow the dialogue to be a dependent window
unless the user explicitly "promotes" the window to be
a simple child window (which allows for multiple transient
dialogues to be open at the same time).
 
Note: using a transient editor does not allow us to hook
into the event for a changed property on our grid parent.
We need to generate that event explicitly ourselves...

Methods inherited from BaseEditor:
Create(self, parent, id, evtHandler)
Creates the editing control for this data type
GetNewValue(self)
SetSize(self, rect)
Resize the control

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)