Changing the contents of a displaying gtk window thorough the command line

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Dec 1 16:03:45 CET 2003


>>>>> "suresh" == suresh j <sureshjeeva00 at yahoo.com> writes:

    suresh> Hi, I am using gtk module.  With that after creating the
    suresh> window, I call the "gtk main loop()" function, after which
    suresh> the window is displayed.  I want to change the contents of
    suresh> this window while it is being displayed, througth the
    suresh> python interpreter .  Is there a way to do that.

Attached below is Py_Shell (by Pier Carteri based upon code by Jon
Anderson) , which enables interactive control of GTK windows.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Py_Shell.py
Type: application/octet-stream
Size: 22113 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20031201/5d065395/attachment.obj>
-------------- next part --------------

There is another interactive shell which uses threading in the Python
Cookbook

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65109

John Hunter 


More information about the Python-list mailing list