|
- Method resolution order:
- wxFontViewer
- BaseViewer
- BaseTableWorker
- wxPyGridCellRenderer
- wxPyGridCellRendererPtr
- wxGridCellRendererPtr
Methods defined here:
- Draw(self, grid, attr, dc, rect, row, col, isSelected)
- Customisation Point: Draw the data from grid in the rectangle with attributes using the dc
- GetBestSize(self, grid, attr, dc, row, col)
- Customisation Point: Determine the appropriate (best) size for the control, return as wxSize
Methods inherited from BaseViewer:
- Background(self, grid, attr, dc, rect, row, col, isSelected)
- Draw an appropriate background based on selection state
- Clip(self, dc, rect)
- Setup the clipping rectangle
- GetValueAsText(self, row, col)
- Customisation Point: Retrieve the current value for row,col as a text string
- SimpleText(self, value, attr, dc, rect, isSelected)
- Draw a simple text label in appropriate colours with background
Uses the system settings at application load to draw a rectangle
(rect) in either system window background or system selected window
background. Then draws the string "value" using either selected
text or normal text colours.
- Unclip(self, dc)
- Destroy the clipping rectangle
Data and other attributes inherited from BaseViewer:
- BACKGROUND = wxColour(255, 255, 255)
- BACKGROUND_SELECTED = wxColour(10, 36, 106)
- TEXT = wxColour(0, 0, 0)
- TEXT_SELECTED = wxColour(255, 255, 255)
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 wxPyGridCellRenderer:
- __init__(self, *_args, **_kwargs)
Methods inherited from wxPyGridCellRendererPtr:
- __repr__(self)
- base_SetParameters(self, *_args, **_kwargs)
Methods inherited from wxGridCellRendererPtr:
- DecRef(self, *_args, **_kwargs)
- IncRef(self, *_args, **_kwargs)
- SetParameters(self, *_args, **_kwargs)
|