MVC framework for working with the Gtk3 TreeView widget. Includes classes for file browsing and displaying SQLite databases.
Created on the account of the reoccurring need to display and interact with contents of SQLite databases in Gtk applications.
The basic usage scenario looks like this:
win = Gtk.Window()
data_source = SQLiteDataSource(db_path, table_name)
datagrid_container = DataGridContainer(win)
controller = DataGridController(datagrid_container, data_source)
datagrid_container.grid_vbox.reparent(win)
win.show()
For more advanced usages see the example applications in the "examples" folder.
Displaying a table from an SQLite database with text filtering. Displaying a table from an SQLite database with date range filtering. Browsing the file system in icon view mode with thumbnails. Persistent row selection in SQLite databases.