Skip to content

amolenaar/python-gtk4-list-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTK4 ListView examples

Gtk.ListView is the new list and tree widget for GTK4.

I started with a simple list model (simple_list.py). The next step is to add some hierarchy, make it a tree (simple_tree.py).

Note that, in the .ui files, type="__main__+Demo". This is because the Demo class is defined in the module we start (__main__).

#Set up

poetry install

To enable the Python virtual environment:

poetry shell

To run an example:

python -m gtk4_list_view.simple_list

About

Learning GTK4 ListView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages