[pygtk] Treeview and sqlite
Neil Dugan
pygtk at butterflystitches.com.au
Sun Nov 18 10:49:22 WST 2007
Marcel Stoop wrote:
> Hey all,
>
> First of all I new to python and reading a lot of documentation, but
> somehow I can't seem to find good information regarding the question
> below.
> I'm trying to develop a python/pygtk application which need to store the
> data from the treeview in a sqlite db.
> Anybody here who is familiar with this and can give some pointers in the
> right direction?
>
I would think that when you get the data for the nodes to insert into
the list you would just do the 'insert' statements in the database.
or
'insert' the records into the database, then have a function that
first clears the treeview, then does a query for all relevant records
and display those in the treeview (which is the way I do it).
> regards,
>
> Marcel
>
regards Neil.
More information about the pygtk
mailing list