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

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

In Pygtk, What Is A Simple Way To Show A Png File?

The following PyGTK code displays a PNG file in a window. Is there a simpler or better way of displ… Read more In Pygtk, What Is A Simple Way To Show A Png File?

Manually Importing Gtk Fails: Module Not Found

So I would like to execute a python script from command line then and again, and it has to be very … Read more Manually Importing Gtk Fails: Module Not Found

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?

How To Set Location Of Gtk Button In Gtk Overlay

So currently I have a Gtk Overlay. I can bring up my button that I would like to position using Gt… Read more How To Set Location Of Gtk Button In Gtk Overlay

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?

Python Widget/gui Framework

What is the best framework to use for building the GUI on a python widget? I'm currently using … Read more Python Widget/gui Framework

Gui Freezes When Clicking A Button In Pygtk

I know this may be a recurring question, but I don't get the point in the other answers to that… Read more Gui Freezes When Clicking A Button In Pygtk

Gtk Widget Shows Up With Delay

Using python3 and gi.repository, I want to have a Gtk.HeaderBar with a Gtk.Button that is replaced … Read more Gtk Widget Shows Up With Delay

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 To Search Through A Gtk.liststore In Pygtk And Remove Elements?

I have the following code (where store is a gtk.ListStore and titer is a gtk.TreeIter. The docs say… Read more How To Search Through A Gtk.liststore In Pygtk And Remove Elements?

How To Make Column Editable For Particular Child In Pygtk

In below picture you can see the 3 parent child window. actually I made one code which will show al… Read more How To Make Column Editable For Particular Child In Pygtk

Detecting When A Gtk Window Is Done Moving/resizing By The User

I want to detect when the user finished re-sizing or moving the GTK window. Basically an equivalent… Read more Detecting When A Gtk Window Is Done Moving/resizing By The User

How Do You Change Alternating Background Row Colors Of A Gtk.treeview In Pygtk?

I'm trying to change the alternating background color of a treeview. I know that this should no… Read more How Do You Change Alternating Background Row Colors Of A Gtk.treeview In Pygtk?

Drawing In Pygobject (python3)

I'm trying to write simple graphic editor using PyGObject and python 3. I need to draw lines wi… Read more Drawing In Pygobject (python3)

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