Questions tagged [pygtk]

PyGTK serves as the official Python interface to the GTK+ widget toolkit library.

Resizing on the go using MPlayer and PyGTK

I have written a python code using pygtk to embed mplayer in a GUI. I am using GtkSocket and the slave mode of mplayer with the -wid option. However, I am facing an issue where if the size of my GTK window is smaller than the stream, it gets cropped. And ...

Disabling the parent checkbox feature in PyGTK

I have successfully created a Treestore in pygtk, but I am facing an issue with a checkbox that I do not want to appear. It can be seen in the image below. Computer1 [ ]-----This checkbox is unwanted C drive [ ] D drive [ ] E drive [ ] Here i ...

What signal is most effective for creating a configuration file in pyGTK?

Is there a way to save the position and size of a window when a user closes the main window of my application? I am having trouble getting the correct window position. myTopLevelWindow.connect('unrealize', self.__onUnrealize) def __onUnrealize(self, ...

How to halt a pygtk operation

I am currently working on a project that involves creating an application to control the playback of a midi file using pygtk. Here's what I have developed so far: import pygtk pygtk.require('2.0') import gtk import subprocess class Music ...