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

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

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

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

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

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

How To Run An Infinite While Loop In Pygtk?

I am creating an application in pygtk which involves running an infinite loop. The loop, I think, i… Read more How To Run An Infinite While Loop In Pygtk?

Importerror: No Module Named _backend_gdk

I am starting to get some insight into interactive plotting with python and matplotlib using pyGTK+… Read more Importerror: No Module Named _backend_gdk

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?

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

Right-click On A Pygtk Hbox In An Expander

I've got a gtk.Expander object, containing in its label a gtk.HBox, which packed a gtk.Image an… Read more Right-click On A Pygtk Hbox In An Expander

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

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

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

Running Function 5 Seconds After Pygtk Widget Is Shown

How to run function 5 seconds after pygtk widget is shown? Solution 1: You can use glib.timeout_ad… Read more Running Function 5 Seconds After Pygtk Widget Is Shown