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