wx.lib.sheet.CSheet¶Grid() Grid(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr)
wxGrid and its related classes are used for displaying and editing tabular data.
Class Hierarchy¶
Inheritance diagram for class CSheet:

Known Superclasses¶
Methods Summary¶Initialize self. See help(type(self)) for accurate signature. |
|
Clear the currently selected cells |
|
Copy the currently selected cells to the clipboard |
|
Track cell selections |
|
Override left-click behavior to prevent left-click edit initiation |
|
Initiate the cell editor on a double-click |
|
Track which cells are selected so that copy/paste behavior can be implemented |
|
Move grid cursor when a cell is right-clicked |
|
Paste the contents of the clipboard into the currently selected cells |
|
Set the number of columns in the sheet |
|
Set the number of rows in the sheet |
Class API¶CSheet(wx.grid.Grid)¶Grid() Grid(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.WANTS_CHARS, name=GridNameStr)
wxGrid and its related classes are used for displaying and editing tabular data.
__init__(self, parent)¶Initialize self. See help(type(self)) for accurate signature.
Clear(self)¶Clear the currently selected cells
Copy(self)¶Copy the currently selected cells to the clipboard
OnCellChange(self, event)¶OnColSize(self, event)¶OnGridSelectCell(self, event)¶Track cell selections
OnLeftClick(self, event)¶Override left-click behavior to prevent left-click edit initiation
OnLeftDoubleClick(self, event)¶Initiate the cell editor on a double-click
OnRangeSelect(self, event)¶Track which cells are selected so that copy/paste behavior can be implemented
OnRightClick(self, event)¶Move grid cursor when a cell is right-clicked
OnRowSize(self, event)¶Paste(self)¶Paste the contents of the clipboard into the currently selected cells
SetNumberCols(self, numCols=1)¶Set the number of columns in the sheet
SetNumberRows(self, numRows=1)¶Set the number of rows in the sheet