Skip to content

MVC framework for working with the Gtk3 TreeView widget

License

Notifications You must be signed in to change notification settings

PQYPLZXHGF/datagrid-gtk3

This branch is up to date with nowsecure/datagrid-gtk3:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Javier Collado
Aug 26, 2015
28083a4 · Aug 26, 2015
Aug 26, 2015
May 13, 2015
Apr 27, 2015
May 13, 2015
Jun 16, 2015
Apr 17, 2015
Jun 16, 2015
Aug 26, 2015
Apr 17, 2015
Jul 7, 2015
Apr 28, 2015
Jun 16, 2015
Dec 15, 2014
May 13, 2015
Jan 12, 2015
Aug 26, 2015
Dec 15, 2014

Repository files navigation

datagrid_gtk3

Test Results Test Coverage Latest PyPI Version Code Health

SYNOPSIS

MVC framework for working with the Gtk3 TreeView widget. Includes classes for file browsing and displaying SQLite databases.

MOTIVATION

Created on the account of the reoccurring need to display and interact with contents of SQLite databases in Gtk applications.

EXAMPLE

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.

"Chinook" example

Table view

Displaying a table from an SQLite database with text filtering.

Date ranges.

Displaying a table from an SQLite database with date range filtering.

"Filebrowser" example

Icon view

Browsing the file system in icon view mode with thumbnails.

"Selectable" example

Row selection

Persistent row selection in SQLite databases.

About

MVC framework for working with the Gtk3 TreeView widget

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.9%
  • Makefile 1.1%