PyGTK GUI update without signals from GUI

Discussion in 'Python' started by Andrew Lapidas, Apr 13, 2008.

  1. 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
    Andrew Lapidas, Apr 13, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stelios Xanthakis

    ANN: GUI wrapper for pygtk, pyqt and wxpython

    Stelios Xanthakis, Oct 8, 2004, in forum: Python
    Replies:
    9
    Views:
    644
    Magnus Lie Hetland
    Oct 15, 2004
  2. Stelios Xanthakis
    Replies:
    0
    Views:
    387
    Stelios Xanthakis
    Oct 17, 2004
  3. Ali
    Replies:
    2
    Views:
    373
  4. bramble
    Replies:
    28
    Views:
    800
    Lawrence D'Oliveiro
    Oct 5, 2007
  5. barcaroller

    PyGTK problems after Linux update...

    barcaroller, Aug 28, 2009, in forum: Python
    Replies:
    4
    Views:
    1,032
    barcaroller
    Sep 2, 2009
Loading...

Share This Page