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

Grid-hosting window sub-class for the ootable (the external API)

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

 
Classes
       
wxGrid(wxGridPtr)
_PropertyGrid
wxPanel(wxPanelPtr)
GridView

 
class GridView(wxPanel)
    Base class for Table-based views
 
The grid view is a subclass of panel which binds a wxGrid
control with a table, and via the table, an adapter object
to a convenient API for manipulating the entire construct.
 
The adapter is the lowest level of the structure, which
mediates between the table and the application's data
storage/modeling environment.  The view provides access
to the adapter's "value" attribute, which is the object
(which may be a collection of objects) which is being
edited by the grid-view construct.  The view also provides
access to the property list of the adapter, which defines
the attributes which will be modified by the grid-view
construct.
 
Attributes of note:
        # class attributes #
        tableClass -- the table type to be instantiated during
                initialization, allows the grid to access the
                adapter layer.  The table is responsible for most
                of the "heavy lifting" in the grid-view construct
        adapterClass -- if no explicit adapter object is passed
                to the initializer, an instance of adapterClass
                will be used as the adapter.
        gridClass -- the actual grid sub-class to be used,
                this is normally _PropertyGrid.
 
        # instance attributes #
        table -- reference to our table object
        grid -- reference to our grid control
        adapter -- reference to our adapter object
 
 
Method resolution order:
GridView
wxPanel
wxPanelPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Methods defined here:
BuildControls(self, style=0)
Layout internal controls
 
This calls BuildGrid and BuildTable
BuildGrid(self)
Build the grid control
 
This uses gridClass(self, -1) to create the grid
then sets the default row and column size to be 1.5
times normal.  Then it turns off "cell overflow" to
avoid rendering problems.
BuildTable(self, grid)
Customisation point: override to use a different method for creating table object
 
Default operation simply uses self.tableClass to create
the table, then calls grid.SetTable on the new table object
returning the new table object.
CreateActionContext(self, event=None, action=None, *arguments, **namedarguments)
Create a suitable action-context for given action and event
 
This will need such information as:
 
        window -- self (can get almost everything from this :) ).
        action -- given
        event -- given
GetAdapter(self)
Get our table's current adapter or None
GetProperties(self)
Get property-definition list from table's adapter
 
Returns [] if no table or no adapter, can return ()
if the adapter currently has no properties
GetValue(self)
Returns the object currently being edited (from the adapter)
OnPropertyRefresh(self, event=None)
Handle a property-refresh request from the application
RegisterProperties(self, properties)
Register each property with our grid
 
Each property definition defines a SetupType(grid)
method which registers the property's data type
for grid viewer and editors.
ResetView(self)
Reset the view (re-calculate grid size and refresh all values)
SetAdapter(self, adapter)
Explicitly set the current adapter object
 
This mechanism allows you to replace the entire
adapter object, including its value and properties.
 
SetProperties will be called in order to update
the display with the new adapter's properties
(and object).
SetProperties(self, value=None)
Set the current adapter's property list
 
value -- list of property definition objects or
        None to attempt to automatically calculate
        property set.
 
This is passed on to the adapter, we also register
the new property set with our grid.
SetValue(self, value)
Set the object to be edited by the view 
 
This is passed on to the adapter, then we register
the adapter's new property set with our grid.
__init__(self, parent, id=-1, pos=wxPoint(-1, -1), size=wxSize(-1, -1), style=524288, name='propertyview', adapter=None, properties=None, value=None, refresh=1, tableClass=None)
Initialize the grid view
 
parent, id, pos, size, style, name -- passed to the panel initializer
 
adapter -- optional instantiated adapter object which will mediate
        between the ootable and the underlying storage/modeling environment.
        If None, then we will create a new adapter object by calling
        adapterClass(value, properties)
 
value, properties -- optional values to be passed to the adapter
 
refresh -- whether to register for wxoo.prop refresh updates
 
tableClass -- overrides the default tableClass if present to allow
        for a non-default table-type to be used by this grid.

Data and other attributes defined here:
adapter = None
adapterClass = None
gridClass = <class wxoo.table.gridview._PropertyGrid at 0x01C81120>
Internal grid sub-class which stores an explicit
reference to the table at the python level to work around
a bug in wxPython
tableClass = <class wxoo.table.ootable.OOTable at 0x01C81090>
(Virtual) Base class for object-oriented tables

Methods inherited from wxPanelPtr:
Create(self, *_args, **_kwargs)
InitDialog(self, *_args, **_kwargs)
__repr__(self)

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)
GetLabel(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)
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)
SetLabel(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 _PropertyGrid(wxGrid)
    Internal grid sub-class which stores an explicit
reference to the table at the python level to work around
a bug in wxPython
 
 
Method resolution order:
_PropertyGrid
wxGrid
wxGridPtr
wxScrolledWindowPtr
wxPanelPtr
wxWindowPtr
wxEvtHandlerPtr
wxObjectPtr

Methods defined here:
GetTable(self)
SetTable(self, object, *attributes)

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

Methods inherited from wxGridPtr:
AppendCols(self, *_args, **_kwargs)
AppendRows(self, *_args, **_kwargs)
AutoSize(self, *_args, **_kwargs)
AutoSizeColumn(self, *_args, **_kwargs)
AutoSizeColumns(self, *_args, **_kwargs)
AutoSizeRow(self, *_args, **_kwargs)
AutoSizeRows(self, *_args, **_kwargs)
BeginBatch(self, *_args, **_kwargs)
BlockToDeviceRect(self, *_args, **_kwargs)
CanDragColSize(self, *_args, **_kwargs)
CanDragGridSize(self, *_args, **_kwargs)
CanDragRowSize(self, *_args, **_kwargs)
CanEnableCellControl(self, *_args, **_kwargs)
CellToRect(self, *_args, **_kwargs)
ClearGrid(self, *_args, **_kwargs)
ClearSelection(self, *_args, **_kwargs)
CreateGrid(self, *_args, **_kwargs)
DeleteCols(self, *_args, **_kwargs)
DeleteRows(self, *_args, **_kwargs)
DeselectCell(self, *_args, **_kwargs)
DeselectCol(self, *_args, **_kwargs)
DeselectRow(self, *_args, **_kwargs)
DisableCellEditControl(self, *_args, **_kwargs)
DisableDragColSize(self, *_args, **_kwargs)
DisableDragGridSize(self, *_args, **_kwargs)
DisableDragRowSize(self, *_args, **_kwargs)
DrawCellHighlight(self, *_args, **_kwargs)
DrawTextRectangle(self, *_args, **_kwargs)
EnableCellEditControl(self, *_args, **_kwargs)
EnableDragColSize(self, *_args, **_kwargs)
EnableDragGridSize(self, *_args, **_kwargs)
EnableDragRowSize(self, *_args, **_kwargs)
EnableEditing(self, *_args, **_kwargs)
EnableGridLines(self, *_args, **_kwargs)
EndBatch(self, *_args, **_kwargs)
ForceRefresh(self, *_args, **_kwargs)
GetBatchCount(self, *_args, **_kwargs)
GetCellAlignment(self, *_args, **_kwargs)
GetCellBackgroundColour(self, *_args, **_kwargs)
GetCellEditor(self, *_args, **_kwargs)
GetCellFont(self, *_args, **_kwargs)
GetCellHighlightColour(self, *_args, **_kwargs)
GetCellHighlightPenWidth(self, *_args, **_kwargs)
GetCellHighlightROPenWidth(self, *_args, **_kwargs)
GetCellOverflow(self, *_args, **_kwargs)
GetCellRenderer(self, *_args, **_kwargs)
GetCellSize(self, *_args, **_kwargs)
GetCellTextColour(self, *_args, **_kwargs)
GetCellValue(self, *_args, **_kwargs)
GetColLabelAlignment(self, *_args, **_kwargs)
GetColLabelSize(self, *_args, **_kwargs)
GetColLabelValue(self, *_args, **_kwargs)
GetColMinimalAcceptableWidth(self, *_args, **_kwargs)
GetColSize(self, *_args, **_kwargs)
GetDefaultCellAlignment(self, *_args, **_kwargs)
GetDefaultCellBackgroundColour(self, *_args, **_kwargs)
GetDefaultCellFont(self, *_args, **_kwargs)
GetDefaultCellOverflow(self, *_args, **_kwargs)
GetDefaultCellTextColour(self, *_args, **_kwargs)
GetDefaultColLabelSize(self, *_args, **_kwargs)
GetDefaultColSize(self, *_args, **_kwargs)
GetDefaultEditor(self, *_args, **_kwargs)
GetDefaultEditorForCell(self, *_args, **_kwargs)
GetDefaultEditorForType(self, *_args, **_kwargs)
GetDefaultRenderer(self, *_args, **_kwargs)
GetDefaultRendererForCell(self, *_args, **_kwargs)
GetDefaultRendererForType(self, *_args, **_kwargs)
GetDefaultRowLabelSize(self, *_args, **_kwargs)
GetDefaultRowSize(self, *_args, **_kwargs)
GetGridColLabelWindow(self, *_args, **_kwargs)
GetGridCornerLabelWindow(self, *_args, **_kwargs)
GetGridCursorCol(self, *_args, **_kwargs)
GetGridCursorRow(self, *_args, **_kwargs)
GetGridLineColour(self, *_args, **_kwargs)
GetGridRowLabelWindow(self, *_args, **_kwargs)
GetGridWindow(self, *_args, **_kwargs)
GetLabelBackgroundColour(self, *_args, **_kwargs)
GetLabelFont(self, *_args, **_kwargs)
GetLabelTextColour(self, *_args, **_kwargs)
GetNumberCols(self, *_args, **_kwargs)
GetNumberRows(self, *_args, **_kwargs)
GetRowLabelAlignment(self, *_args, **_kwargs)
GetRowLabelSize(self, *_args, **_kwargs)
GetRowLabelValue(self, *_args, **_kwargs)
GetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
GetRowSize(self, *_args, **_kwargs)
GetSelectedCells(self, *_args, **_kwargs)
GetSelectedCols(self, *_args, **_kwargs)
GetSelectedRows(self, *_args, **_kwargs)
GetSelectionBackground(self, *_args, **_kwargs)
GetSelectionBlockBottomRight(self, *_args, **_kwargs)
GetSelectionBlockTopLeft(self, *_args, **_kwargs)
GetSelectionForeground(self, *_args, **_kwargs)
GetSelectionMode(self, *_args, **_kwargs)
GetTextBoxSize(self, *_args, **_kwargs)
GridLinesEnabled(self, *_args, **_kwargs)
HideCellEditControl(self, *_args, **_kwargs)
InsertCols(self, *_args, **_kwargs)
InsertRows(self, *_args, **_kwargs)
IsCellEditControlEnabled(self, *_args, **_kwargs)
IsCellEditControlShown(self, *_args, **_kwargs)
IsCurrentCellReadOnly(self, *_args, **_kwargs)
IsEditable(self, *_args, **_kwargs)
IsInSelection(self, *_args, **_kwargs)
IsReadOnly(self, *_args, **_kwargs)
IsSelection(self, *_args, **_kwargs)
IsVisible(self, *_args, **_kwargs)
MakeCellVisible(self, *_args, **_kwargs)
MoveCursorDown(self, *_args, **_kwargs)
MoveCursorDownBlock(self, *_args, **_kwargs)
MoveCursorLeft(self, *_args, **_kwargs)
MoveCursorLeftBlock(self, *_args, **_kwargs)
MoveCursorRight(self, *_args, **_kwargs)
MoveCursorRightBlock(self, *_args, **_kwargs)
MoveCursorUp(self, *_args, **_kwargs)
MoveCursorUpBlock(self, *_args, **_kwargs)
MovePageDown(self, *_args, **_kwargs)
MovePageUp(self, *_args, **_kwargs)
ProcessTableMessage(self, *_args, **_kwargs)
Refresh(self, *_args, **_kwargs)
RegisterDataType(self, *_args, **_kwargs)
SaveEditControlValue(self, *_args, **_kwargs)
SelectAll(self, *_args, **_kwargs)
SelectBlock(self, *_args, **_kwargs)
SelectCol(self, *_args, **_kwargs)
SelectRow(self, *_args, **_kwargs)
SetAttr(self, *_args, **_kwargs)
SetCellAlignment(self, *_args, **_kwargs)
SetCellBackgroundColour(self, *_args, **_kwargs)
SetCellEditor(self, *_args, **_kwargs)
SetCellFont(self, *_args, **_kwargs)
SetCellHighlightColour(self, *_args, **_kwargs)
SetCellHighlightPenWidth(self, *_args, **_kwargs)
SetCellHighlightROPenWidth(self, *_args, **_kwargs)
SetCellOverflow(self, *_args, **_kwargs)
SetCellRenderer(self, *_args, **_kwargs)
SetCellSize(self, *_args, **_kwargs)
SetCellTextColour(self, *_args, **_kwargs)
SetCellValue(self, *_args, **_kwargs)
SetColAttr(self, *_args, **_kwargs)
SetColFormatBool(self, *_args, **_kwargs)
SetColFormatCustom(self, *_args, **_kwargs)
SetColFormatFloat(self, *_args, **_kwargs)
SetColFormatNumber(self, *_args, **_kwargs)
SetColLabelAlignment(self, *_args, **_kwargs)
SetColLabelSize(self, *_args, **_kwargs)
SetColLabelValue(self, *_args, **_kwargs)
SetColMinimalAcceptableWidth(self, *_args, **_kwargs)
SetColMinimalWidth(self, *_args, **_kwargs)
SetColSize(self, *_args, **_kwargs)
SetDefaultCellAlignment(self, *_args, **_kwargs)
SetDefaultCellBackgroundColour(self, *_args, **_kwargs)
SetDefaultCellFont(self, *_args, **_kwargs)
SetDefaultCellOverflow(self, *_args, **_kwargs)
SetDefaultCellTextColour(self, *_args, **_kwargs)
SetDefaultColSize(self, *_args, **_kwargs)
SetDefaultEditor(self, *_args, **_kwargs)
SetDefaultRenderer(self, *_args, **_kwargs)
SetDefaultRowSize(self, *_args, **_kwargs)
SetGridCursor(self, *_args, **_kwargs)
SetGridLineColour(self, *_args, **_kwargs)
SetLabelBackgroundColour(self, *_args, **_kwargs)
SetLabelFont(self, *_args, **_kwargs)
SetLabelTextColour(self, *_args, **_kwargs)
SetMargins(self, *_args, **_kwargs)
SetReadOnly(self, *_args, **_kwargs)
SetRowAttr(self, *_args, **_kwargs)
SetRowLabelAlignment(self, *_args, **_kwargs)
SetRowLabelSize(self, *_args, **_kwargs)
SetRowLabelValue(self, *_args, **_kwargs)
SetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
SetRowMinimalHeight(self, *_args, **_kwargs)
SetRowSize(self, *_args, **_kwargs)
SetSelectionBackground(self, *_args, **_kwargs)
SetSelectionForeground(self, *_args, **_kwargs)
SetSelectionMode(self, *_args, **_kwargs)
ShowCellEditControl(self, *_args, **_kwargs)
XToCol(self, *_args, **_kwargs)
XToEdgeOfCol(self, *_args, **_kwargs)
XYToCell(self, *_args, **_kwargs)
YToEdgeOfRow(self, *_args, **_kwargs)
YToRow(self, *_args, **_kwargs)
__repr__(self)

Data and other attributes inherited from wxGridPtr:
wxGridSelectCells = 0
wxGridSelectColumns = 2
wxGridSelectRows = 1

Methods inherited from wxScrolledWindowPtr:
AdjustScrollbars(self, *_args, **_kwargs)
CalcScrolledPosition(self, *args)
CalcScrolledPosition1(self, *_args, **_kwargs)
CalcScrolledPosition2(self, *_args, **_kwargs)
CalcUnscrolledPosition(self, *args)
CalcUnscrolledPosition1(self, *_args, **_kwargs)
CalcUnscrolledPosition2(self, *_args, **_kwargs)
Create(self, *_args, **_kwargs)
EnableScrolling(self, *_args, **_kwargs)
GetScaleX(self, *_args, **_kwargs)
GetScaleY(self, *_args, **_kwargs)
GetScrollPageSize(self, *_args, **_kwargs)
GetScrollPixelsPerUnit(self, *_args, **_kwargs)
GetTargetWindow(self, *_args, **_kwargs)
GetViewStart(self, *_args, **_kwargs)
IsRetained(self, *_args, **_kwargs)
Layout(self, *_args, **_kwargs)
PrepareDC(self, *_args, **_kwargs)
Scroll(self, *_args, **_kwargs)
SetScale(self, *_args, **_kwargs)
SetScrollPageSize(self, *_args, **_kwargs)
SetScrollRate(self, *_args, **_kwargs)
SetScrollbars(self, *_args, **_kwargs)
SetTargetWindow(self, *_args, **_kwargs)
ViewStart = GetViewStart(self, *_args, **_kwargs)

Methods inherited from wxPanelPtr:
InitDialog(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)
GetLabel(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)
IsBeingDeleted(self, *_args, **_kwargs)
IsEnabled(self, *_args, **_kwargs)
IsExposed(self, *_args, **_kwargs)
IsExposedPoint(self, *_args, **_kwargs)
IsExposedRect(self, *_args, **_kwargs)
IsShown(self, *_args, **_kwargs)
IsTopLevel(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)
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)
SetLabel(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)

 
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)