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

Replace Image Using Gtk.image.set_from_file

I'm trying to add and if needed by user, change the image from a widget in python. I'm usin… Read more Replace Image Using Gtk.image.set_from_file

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

Using A Gtk Window And Waiting For The Response

I am using PyGTK inside another application to take user input. I am building an window which has l… Read more Using A Gtk Window And Waiting For The Response

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

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 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

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

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 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?

How To Run An Infinite While Loop In Pygtk?

I am creating an application in pygtk which involves running an infinite loop. The loop, I think, i… Read more How To Run An Infinite While Loop In Pygtk?

Include A Library In Python Application

I am trying to find a way to include a library in a Ubuntu/Python/PyGtk application even though It … Read more Include A Library In Python Application

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?

Why Does The Popen() Function Behave Differently In Python And Pygtk?

I wrote these two lines in a Python program and they worked fine : subprocess.Popen('./prog inf… Read more Why Does The Popen() Function Behave Differently In Python And Pygtk?

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

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