| Trees | Indices | Help |
|
|---|
|
|
A table whose cells contain Tkinter widgets such as Buttons and Checkbuttons. Take a look at prepwizard.py or vsw_gui.py for application example.
Simple example:
table = widgettable.WidgetTable(parent, hull_width=200, hull_height=200,
showtitlebar=True)
table.pack(side=LEFT)
col1 = table.addColumn('Checkbutton', columntitle='On', columnwidth=50)
col2 = table.addColumn('Label', columntitle='Name')
for i in range(10:
row = table.addRow()
cell1 = row.getCell(col1)
cell2 = row.getCell(col2)
<modify cell1 or cell2 as necessary>
Copyright Schrodinger, LLC. All rights reserved.
|
|||
|
_Cell Class defining a cell. |
|||
|
ButtonCell Subclass of Tkinter Button widget and Cell. |
|||
|
LabelCell Subclass of Tkinter Label widget and Cell. |
|||
|
RadiobuttonCell Subclass of Tkinter Radiobutton widget and Cell. |
|||
|
CheckbuttonCell Subclass of Tkinter Checkbutton widget and Cell. |
|||
|
CanvasCell Subclass of Tkinter Canvas widget and Cell. |
|||
|
EntryFieldCell Subclass of Tkinter EntryField and Cell. |
|||
|
OptionMenuCell Subclass of Tkinter OptionMenu and Cell. |
|||
|
CellIterator column.cell row.cell Class for iterating over cells in a row or column and for getting a cell Cells are indexed starting with 1 Ex: cell = row.cell[1] or: cell = column.cell[1] |
|||
|
RowIterator table.row Class for iterating over rows and for getting a row object Ex: row = table.row[rowid] |
|||
|
ColumnIterator table.column Class for iterating over columns and getting a column Ex: column = table.column[colid] |
|||
|
_Column Base class for a column |
|||
|
CheckbuttonColumn Class defining a column of checkbuttons |
|||
|
RadiobuttonColumn Class defining a column of Radiobuttons |
|||
|
ButtonColumn Class defining a column of Buttons |
|||
|
LabelColumn Class defining a column of Labels |
|||
|
CanvasColumn Class defining a column of Canvas objects |
|||
|
EntryFieldColumn Class defining a column of EntryField cells |
|||
|
OptionMenuColumn Class defining a column of OptionMenuCells. |
|||
|
_Row Row of a table |
|||
|
_ScrolledDouble Two frames that are scrolled with one vertical scroll bar. |
|||
|
WidgetTable The table class with scroll bars |
|||
|
|||
__doc__ =
|
|||
RESIZE_THRESHOLD = 4
|
|||
column_classes =
|
|||
__package__ =
|
|||
|
|||
__doc__
|
column_classes
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:20 2016 | http://epydoc.sourceforge.net |