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

Forwarding Keypresses In Gtk

I'm writing a bit of code for a Gedit plugin. I'm using Python and the interface (obviously… Read more Forwarding Keypresses In Gtk

How To Install Pygtk Within Virtualenv?

I installed ipython in a virtual env (1.13 with 2.7.2) and tried ipython -gui=gtk but still got the… Read more How To Install Pygtk Within Virtualenv?

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

Decoding Json From Reddit Api In Python Using Praw

I am using PRAW for Reddit API in a Python/GTK application. I have been successful in using the AP… Read more Decoding Json From Reddit Api In Python Using Praw

Installing Gtk+ On Mac Osx 10.11.4 El-capitan

I have a macbook pro with osx 10.11.4 El-Capitan. I use zsh, which I wonder could be causing proble… Read more Installing Gtk+ On Mac Osx 10.11.4 El-capitan

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?

How To Do Background Task In Gtk3-python?

I have this main thread: Gui.py from gi.repository import Gtk, Gdk import Process import gobject c… Read more How To Do Background Task In Gtk3-python?

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

Gtk3 Replace Child Widget With Another Widget

I'm looking for a way to remove a widget from its parent (whatever that may be - a VBox, a Grid… Read more Gtk3 Replace Child Widget With Another Widget

Gtk-WARNING **: Locale Not Supported By C Library. While Using Several Python Modules (mayavi, Spectral)

I updated my MacBook to Mavericks, reinstalled Macports and all Python 2.7 modules I usually use. W… Read more Gtk-WARNING **: Locale Not Supported By C Library. While Using Several Python Modules (mayavi, Spectral)

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