Reputation: 65
I want to create tables (yes, tables, like in excel), that have rows and columns. I couldn't find much about it on the internet due to the lack of resources about Gtk. (Or it's probably my bad)
How can I create basic tables in Gtk?
Upvotes: 2
Views: 3191
Reputation: 3109
In GTK4, there is Gtk::ColumnView https://docs.gtk.org/gtk4/class.ColumnView.html
I created a demo for using the column view here in rust, but the concepts may be portable to python https://github.com/gtk-rs/gtk4-rs/pull/1111
Example screenshot
Upvotes: 1
Reputation: 290
The Treeview container allows all excel like sheet functions like sorting, selecting, filtering etc.
Upvotes: 1