| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
OID_CACHE = True
|
|||
|
|||
Creates a new GenericDBListStore.
Parameters:
filename -- the filename of the sqlite database.
table -- the name of the table to manage.
|
Returns the oid of the row at offset.
Parameters:
offset -- the rows offset from 0.
|
Returns the value for a column in the table with a row id
of oid.
Parameters:
oid -- the rows internal oid.
column -- the column index.
|
Returns the next oid after passed oid.
Note: for some reason unknown to me, gtk.TreeView or
perhaps the GenericTreeModel finds it neccessary to
iterate through every iter from the root node through
n_children. Because of this, we will fetch row ids in
sets of 1024 and cache them to speed things up.
Parameters:
oid -- the current oid.
|
Returns the offset of oid in the sqlite table.
Parameters:
oid -- the oid of the row to check
|
|
|
|
Returns the data for a rowref at the givin column.
Parameters:
rowref -- the rowref passed back in the on_get_iter
method.
column -- the integer offset of the column desired.
|
Returns the next oid found in the sqlite table.
Parameters:
rowref -- the oid of the current iter.
|
Retruns children for a given rowref. This will always be
None unless the rowref is None, which is our root node.
Parameters:
rowref -- the oid of the desired row.
|
|
Returns the oid of the nth child from rowref. This will
only return a value if rowref is None, which is the
root node.
Parameters:
rowref -- the oid of the row.
n -- the row offset to retrieve.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 2 22:18:24 2008 | http://epydoc.sourceforge.net |