Skip to content

Instantly share code, notes, and snippets.

View helo9's full-sized avatar
🐒

Jonathan Hahn helo9

🐒
View GitHub Profile
@helo9
helo9 / customtreemodel.py
Created January 27, 2016 00:07 — forked from andialbrecht/customtreemodel.py
Simple script demonstrating a custom Gtk.TreeModel for Gtk 3 (known as GenericTreeModel in PyGtk 2).
#!/usr/bin/env python3
# This script demonstrates a custom TreeModel (known as
# GenericTreeModel in PyGtk 2).
#
# Note: This script requires python-gi (pygobject) >= 3.4.
from gi.repository import GObject, Gtk