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

Simple Way To Toggle Fullscreen With F11 In Pygtk

I am not a professional programmer but am regularly using PyGTK and Cairo for data visualization te… Read more Simple Way To Toggle Fullscreen With F11 In Pygtk

How To Do Multiple Arguments With Python Popen?

I am trying to make a PyGtk Gui, that has a button. When the user presses this button, gnome-termin… Read more How To Do Multiple Arguments With Python Popen?

In PyGTK, What Is A Simple Way To Show A PNG File?

The following PyGTK code displays a PNG file in a window. Is there a simpler or better way of displ… Read more In PyGTK, What Is A Simple Way To Show A PNG File?

Running Computation In Background Thread Python/pygtk

Is there a way to run a python thread in the background without locking down the rest of python dur… Read more Running Computation In Background Thread Python/pygtk