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

Pygtk : Destroying Combobox Causes Error

My aim is to destroy a combobox if one of its items is active. I wrote this test code : import pygt… Read more Pygtk : Destroying Combobox Causes Error

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 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?

Pygtk Treecolumns All Exact Duplicates

I wrote a simple PyGTK script to show some basic process information in a TreeView: import gtk impo… Read more Pygtk Treecolumns All Exact Duplicates

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?

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

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

How Do I Update/redraw A Gtk Widget (gtklabel) Internally Without A Key Press Event Using Python?

I have some code below that is attempting to update a GTK Label element. I'm including two fil… Read more How Do I Update/redraw A Gtk Widget (gtklabel) Internally Without A Key Press Event Using Python?

Replace Image Using Gtk.image.set_from_file

I'm trying to add and if needed by user, change the image from a widget in python. I'm usin… Read more Replace Image Using Gtk.image.set_from_file

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

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?

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

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: 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