PyGTK GUI update without signals from GUI

A

Andrew Lapidas

Hi All:

I am currently having a problem updating a GUI.

I am using PyGTK and Glade to design an interface for a project. This
interface contains no buttons, just images, labels, and a progress
bar. The code for the project is small, and it basically does some
things independent of the GUI in an infinite loop. I need the project
code to update the GUI intermittently. I have found, though, that
generally it seems that the gtk.main loop is looking for signals from
the GUI and I cannot figure out how to give it signals from another
application. I have thought spawning a new thread from the __init__
in the GUI and somehow having it send signals to gtk.main, but I do
not know if this will work.

Any opinions or ideas on this subject would be greatly appreciated.

Thank you in advance,
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,832
Latest member
GlennSmall

Latest Threads

Top