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

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

Get Colors Of Current Gtk Style

I use PyGTK and I want to get colors of a widget (for example bg color), I run such a code: gdkColo… Read more Get Colors Of Current Gtk Style

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?

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

Asynchronously Updating Pygtk Tray Icon

As explained here, I have a simple tray icon using PyGTK. Being very new to GTK, it appears to me t… Read more Asynchronously Updating Pygtk Tray Icon