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