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

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

Bundling Gtk Resources With Py2exe

I'm using Python 2.6 and PyGTK 2.22.6 from the all-in-one installer on Windows XP, trying to bu… Read more Bundling Gtk Resources With Py2exe

Pygtk's Strange Problem About Set Button's Sensitive Property

on one of my methods, I have the following code: def fun(): self.button1.set_sensitive(False) … Read more Pygtk's Strange Problem About Set Button's Sensitive Property

Asynchronously Updating Pygtk Tray Icon

As explained here, I have a simple tray icon using PyGTK. Being very new to GTK, it appears to me t… Read more Asynchronously Updating Pygtk Tray Icon

Get Colors Of Current Gtk Style

I use PyGTK and I want to get colors of a widget (for example bg color), I run such a code: gdkColo… Read more Get Colors Of Current Gtk Style

Pygtk: Asynchronous Output Implemented With Io_add_watch Blocks When Printing Large Output Dataset

I'm writing a GTK+ GUI program with a python command line emulator. My python command line is i… Read more Pygtk: Asynchronous Output Implemented With Io_add_watch Blocks When Printing Large Output Dataset

Convert Gtkglade To Libglade For A Backwards Compatibility

I have a python gtk app that I am porting to an environment that can only use pygtk2.10. pygtk2.10 … Read more Convert Gtkglade To Libglade For A Backwards Compatibility

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

Include A Library In Python Application

I am trying to find a way to include a library in a Ubuntu/Python/PyGtk application even though It … Read more Include A Library In Python Application

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

Running Function 5 Seconds After Pygtk Widget Is Shown

How to run function 5 seconds after pygtk widget is shown? Solution 1: You can use glib.timeout_ad… Read more Running Function 5 Seconds After Pygtk Widget Is Shown

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?

Gui Not Updated From Another Thread When Using Pygtk

I am using PyGTK to build a GUI application. I want to update the textview widget from another thre… Read more Gui Not Updated From Another Thread When Using Pygtk

Twisted + Gtk - Shutdown Not Working Properly

Using Python 2.6, Twisted 10.1, and GTK+ 2.22, with latest pygtk installed, I'm having problems… Read more Twisted + Gtk - Shutdown Not Working Properly

Why Does The Popen() Function Behave Differently In Python And PyGTK?

I wrote these two lines in a Python program and they worked fine : subprocess.Popen('./prog inf… Read more Why Does The Popen() Function Behave Differently In Python And PyGTK?

GUI Not Updated From Another Thread When Using PyGtk

I am using PyGTK to build a GUI application. I want to update the textview widget from another thre… Read more GUI Not Updated From Another Thread When Using PyGtk