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

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

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?

Update A Gtk.vbox Dynamically

I have been using this website pretty often in order to solve small issues that I have while progra… Read more Update A Gtk.vbox Dynamically

Gtk Treeview: 20-line Minimal Script Won't Show Treeview Itself Within The Window: What's Wrong?

I've got a simplest TreeView example possible, mostly copied from basictreeview.py, but even si… Read more Gtk Treeview: 20-line Minimal Script Won't Show Treeview Itself Within The Window: What's Wrong?

Scale An Image In Gtk

In GTK, how can I scale an image? Right now I load images with PIL and scale them beforehand, but i… Read more Scale An Image In Gtk

Import Gtk/glib Produces Importerror: Dll Load Failed

I installed the latest versions of python (2.6.5), gtk+, pygtk (and friends) from their respective … Read more Import Gtk/glib Produces Importerror: Dll Load Failed

Using A Gtk Window And Waiting For The Response

I am using PyGTK inside another application to take user input. I am building an window which has l… Read more Using A Gtk Window And Waiting For The Response

How Do You Change Alternating Background Row Colors Of A Gtk.treeview In Pygtk?

I'm trying to change the alternating background color of a treeview. I know that this should no… Read more How Do You Change Alternating Background Row Colors Of A Gtk.treeview In Pygtk?

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

Separate Threads In Pygtk Application

I'm having some problems threading my pyGTK application. I give the thread some time to comple… Read more Separate Threads In Pygtk Application

How To Avoid Closing Of Gtk.dialog In Python?

I have a form in a Gtk.Dialog which has an 'Ok' button and a 'Cancel' button. When … Read more How To Avoid Closing Of Gtk.dialog In Python?

Serious Instability With Pygtk 2.22 And Python 2.6

Has anybody come across this? I've taken the GTK HelloWorld sample. It runs fine. However, if … Read more Serious Instability With Pygtk 2.22 And Python 2.6

Gtk.builder() And Multiple Glade Files Breaks

I have a glade gui, and I want to insert another object using a glade file as well. When I do it … Read more Gtk.builder() And Multiple Glade Files Breaks

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?

Scaling Up An Animated GIF In Python To Be Used With PyGTK

I have this little python script which opens up a window and puts an animated GIF inside the window… Read more Scaling Up An Animated GIF In Python To Be Used With PyGTK

How Export Methods With Dbus In A Extended Class In Python, Inherited Methods?

I have a top class and classes that extend the top class, but almost all methods from the child cla… Read more How Export Methods With Dbus In A Extended Class In Python, Inherited Methods?