Public Member Functions | |
def | __init__ |
def | Disable |
def | Enable |
def | GetNumberCols |
def | GetNumberRows |
def | GetColLabelValue |
def | GetRowLabelValues |
def | GetValue |
def | GetEditor |
def | GetValueByName |
def | SetValue |
def | ResetView |
def | UpdateValues |
def | SetData |
def | SetEditors |
def | GetCurrentIndex |
def | SetCurrentIndex |
def | AppendRow |
def | Empty |
Data Fields | |
data | |
editors | |
CurrentIndex | |
colnames | |
Parent | |
Editable | |
Private Member Functions | |
def | _updateColAttrs |
Private Attributes | |
_rows | |
_cols |
A custom wxGrid Table using user supplied data
Definition at line 53 of file subindextable.py.
def subindextable::SubindexTable::__init__ | ( | self, | ||
parent, | ||||
data, | ||||
editors, | ||||
colnames | ||||
) |
Definition at line 56 of file subindextable.py.
def subindextable::SubindexTable::Disable | ( | self | ) |
Definition at line 71 of file subindextable.py.
def subindextable::SubindexTable::Enable | ( | self | ) |
Definition at line 74 of file subindextable.py.
def subindextable::SubindexTable::GetNumberCols | ( | self | ) |
Definition at line 77 of file subindextable.py.
def subindextable::SubindexTable::GetNumberRows | ( | self | ) |
Definition at line 80 of file subindextable.py.
def subindextable::SubindexTable::GetColLabelValue | ( | self, | ||
col | ||||
) |
Definition at line 83 of file subindextable.py.
def subindextable::SubindexTable::GetRowLabelValues | ( | self, | ||
row | ||||
) |
Definition at line 87 of file subindextable.py.
def subindextable::SubindexTable::GetValue | ( | self, | ||
row, | ||||
col | ||||
) |
Definition at line 90 of file subindextable.py.
def subindextable::SubindexTable::GetEditor | ( | self, | ||
row, | ||||
col | ||||
) |
Definition at line 98 of file subindextable.py.
def subindextable::SubindexTable::GetValueByName | ( | self, | ||
row, | ||||
colname | ||||
) |
Definition at line 102 of file subindextable.py.
def subindextable::SubindexTable::SetValue | ( | self, | ||
row, | ||||
col, | ||||
value | ||||
) |
Definition at line 105 of file subindextable.py.
def subindextable::SubindexTable::ResetView | ( | self, | ||
grid | ||||
) |
(wxGrid) -> Reset the grid view. Call this to update the grid if rows and columns have been added or deleted
Definition at line 109 of file subindextable.py.
def subindextable::SubindexTable::UpdateValues | ( | self, | ||
grid | ||||
) |
def subindextable::SubindexTable::_updateColAttrs | ( | self, | ||
grid | ||||
) | [private] |
wxGrid -> update the column attributes to add the appropriate renderer given the column name. Otherwise default to the default renderer.
Definition at line 144 of file subindextable.py.
def subindextable::SubindexTable::SetData | ( | self, | ||
data | ||||
) |
Definition at line 221 of file subindextable.py.
def subindextable::SubindexTable::SetEditors | ( | self, | ||
editors | ||||
) |
Definition at line 224 of file subindextable.py.
def subindextable::SubindexTable::GetCurrentIndex | ( | self | ) |
Definition at line 227 of file subindextable.py.
def subindextable::SubindexTable::SetCurrentIndex | ( | self, | ||
index | ||||
) |
Definition at line 230 of file subindextable.py.
def subindextable::SubindexTable::AppendRow | ( | self, | ||
row_content | ||||
) |
Definition at line 233 of file subindextable.py.
def subindextable::SubindexTable::Empty | ( | self | ) |
Definition at line 236 of file subindextable.py.
Definition at line 59 of file subindextable.py.
Definition at line 60 of file subindextable.py.
Definition at line 61 of file subindextable.py.
Definition at line 62 of file subindextable.py.
Definition at line 63 of file subindextable.py.
Definition at line 64 of file subindextable.py.
subindextable::SubindexTable::_rows [private] |
Definition at line 68 of file subindextable.py.
subindextable::SubindexTable::_cols [private] |
Definition at line 69 of file subindextable.py.