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

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

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

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

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

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

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

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

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

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

Separate Threads In Pygtk Application

I'm having some problems threading my pyGTK application. I give the thread some time to comple… Read more Separate Threads In Pygtk Application

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

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

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

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 Install Poppler In Ubuntu 15.04?

Poppler is a PDF rendering library based on the xpdf-3.0 code base. I have already downloaded the t… Read more How To Install Poppler In Ubuntu 15.04?

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

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

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

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