Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pygtk

Making Rows In A Gtk Treeview Unselectable

I want to make select rows of a PyGTK Tree-view (coupled to a List Store) un-selectable and if poss… Read more Making Rows In A Gtk Treeview Unselectable

How Do I Get The Size Of A Pygtk Window?

I'm trying to use gtk.window.get_size(), but it always just returns the default width and heigh… Read more How Do I Get The Size Of A Pygtk Window?

Right-click On A Pygtk Hbox In An Expander

I've got a gtk.Expander object, containing in its label a gtk.HBox, which packed a gtk.Image an… Read more Right-click On A Pygtk Hbox In An Expander

How To Search Through A Gtk.liststore In Pygtk And Remove Elements?

I have the following code (where store is a gtk.ListStore and titer is a gtk.TreeIter. The docs say… Read more How To Search Through A Gtk.liststore In Pygtk And Remove Elements?

How To Display Continuous Data In A Py-gtk Window?

I was trying to build a simple stopwatch app using py-gtk. Here is the callback function for the to… Read more How To Display Continuous Data In A Py-gtk Window?

Ubuntu - Anaconda 2020.02 - Namespace Gtk Not Available

This is on Ubuntu 16.04 LTS. I've run into the same issue as this question: ValueError: Names… Read more Ubuntu - Anaconda 2020.02 - Namespace Gtk Not Available

Pygtk Treecolumns All Exact Duplicates

I wrote a simple PyGTK script to show some basic process information in a TreeView: import gtk impo… Read more Pygtk Treecolumns All Exact Duplicates

Changing The Selected Item Colour In A Gtktreeview Using Python

I have a dialog which contains a pygtk.treeview for listing tasks by priority. Each row has the bac… Read more Changing The Selected Item Colour In A Gtktreeview Using Python