Skip to content Skip to sidebar Skip to footer
Showing posts with the label 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?

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?

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?

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

Set Position Of Image In A Window Using Pygtk

Is it possible to set the position of an image using pygtk? import pygtk import gtk class Example:… Read more Set Position Of Image In A Window Using Pygtk

Remove Inner Border On Gtk.button

I would like to remove border on a gtk.Button and also set its size fixed. How can I accomplish tha… Read more Remove Inner Border On Gtk.button

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

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

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

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?

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

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

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

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

How To Make Column Editable For Particular Child In Pygtk

In below picture you can see the 3 parent child window. actually I made one code which will show al… Read more How To Make Column Editable For Particular Child In Pygtk