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

Using A Gtk Window And Waiting For The Response

I am using PyGTK inside another application to take user input. I am building an window which has l… Read more Using A Gtk Window And Waiting For The Response

Gtkaboutdialog Close Button Bug

I use GtkAboutDialog and everything works fine except the close button of this widget. All other bu… Read more Gtkaboutdialog Close Button Bug

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 Avoid Closing Of Gtk.dialog In Python?

I have a form in a Gtk.Dialog which has an 'Ok' button and a 'Cancel' button. When … Read more How To Avoid Closing Of Gtk.dialog In Python?

Socket Thread And Pygtk

I'm trying to write a instant messaging program, the basic ui is almost finished and i'm lo… Read more Socket Thread And Pygtk

Creating Clickable Areas On Screen With Pygtk

Hey guys I've run into a problem that I don't know how to solve. I just met with a team to … Read more Creating Clickable Areas On Screen With Pygtk

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

Gtk.builder() And Multiple Glade Files Breaks

I have a glade gui, and I want to insert another object using a glade file as well. When I do it … Read more Gtk.builder() And Multiple Glade Files Breaks

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?

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?

Gtklabel Alignment And Padding

I have GtkLabel in Glade with X align set to 0, X pad set to 5, Expand set to No. Label is located … Read more Gtklabel Alignment And Padding

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

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

Need Example/help With Gtktextbuffer (of Gtktextview) Serialize/deserialize

I am trying to save user's bold/italic/font/etc tags in a GtkTextView. Using GtkTextBuffer.get_… Read more Need Example/help With Gtktextbuffer (of Gtktextview) Serialize/deserialize

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

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

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

How To Introspectively Connect Handlers To Signals?

gtk.Builder is capable to identify all signals that a GUI (described in a XML file) can emit and wi… Read more How To Introspectively Connect Handlers To Signals?

Pygtk Glib.timeout_add(): How To Tell If Timer Not Being Destroyed?

In my application I use a function to show GtkInfoBars with a timeout (as described https://stackov… Read more Pygtk Glib.timeout_add(): How To Tell If Timer Not Being Destroyed?

GtkLabel Alignment And Padding

I have GtkLabel in Glade with X align set to 0, X pad set to 5, Expand set to No. Label is located … Read more GtkLabel Alignment And Padding