Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 422 Bytes

usage.rst

File metadata and controls

19 lines (11 loc) · 422 Bytes

Usage

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.