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

How Do I Get The Size Of A Pygtk Window?

I'm trying to use gtk.window.get_size(), but it always just returns the default width and heigh… Read more How Do I Get The Size Of A Pygtk Window?

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

Python, Quickly And Glade, Showing Stdout In A Textview

I've spent ages looking for a way to do this, and I've so far come up with nothing. :( I&#… Read more Python, Quickly And Glade, Showing Stdout In A Textview

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

Build Failure During Install Py25-gtk On Mac Os X 10.6 Using Macports 1.8

When I do this command : sudo port clean py25-gtk sudo port install py25-gtk I get this error : --… Read more Build Failure During Install Py25-gtk On Mac Os X 10.6 Using Macports 1.8

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

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

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

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

Simple Way To Toggle Fullscreen With F11 In Pygtk

I am not a professional programmer but am regularly using PyGTK and Cairo for data visualization te… Read more Simple Way To Toggle Fullscreen With F11 In Pygtk

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

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?

Update A Label In Gtk, Python

I am learning GTK at the moment. Feels like i am loosing my time with the documentation. And tutori… Read more Update A Label In Gtk, Python

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?

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

How To Avoid Closing Of Gtk.dialog In Python?

I have a form in a Gtk.Dialog which has an 'Ok' button and a 'Cancel' button. When … Read more How To Avoid Closing Of Gtk.dialog In Python?

Python Gtk Drag And Drop - Get Url

I'm creating a small app must be able to receive URLs. If the apps window is open, I should be … Read more Python Gtk Drag And Drop - Get Url

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

Overriding Virtual Methods In Pygobject

I'm trying to implement the Heigh-for-width Geometry Management in GTK with Python for my custo… Read more Overriding Virtual Methods In Pygobject

Webkit2.javascriptresult.get_value() Throws Exception "typeerror: Couldn't Find Foreign Struct Converter For 'javascriptcore.value'".

I am writing a python3 + webkit2 + gtk3 based GUI. Everything works fine, but when I tried to use W… Read more Webkit2.javascriptresult.get_value() Throws Exception "typeerror: Couldn't Find Foreign Struct Converter For 'javascriptcore.value'".