Package Simple :: Module _SimpleTable :: Class SimpleTable
[frames] | no frames]

Class SimpleTable

source code

Provide a simplified table creation interface.

Instance Methods
 
__init__(self, access, doc, title=None)
Initialize the class with a simpledb, and simpledoc
source code
 
get_row_count(self) source code
 
columns(self, *columns)
Set the columns
source code
 
set_callback(self, which, callback)
Override (or add) a function for click/double-click
source code
 
on_table_doubleclick(self, obj, path, view_column)
Handle events on tables.
source code
 
on_table_click(self, obj)
Handle events on tables.
source code
 
row_sort_val(self, col, val)
Add a row of data to sort by.
source code
 
set_link_col(self, col)
Manually sets the column that defines link.
source code
 
row(self, *data)
Add a row of data.
source code
 
sort(self, column_name, reverse=False) source code
 
write(self) source code
Method Details

on_table_doubleclick(self, obj, path, view_column)

source code 

Handle events on tables. obj is a treeview

on_table_click(self, obj)

source code 

Handle events on tables. obj is a treeview