[pygtk] Updating image without closing window

DINESHBABU DINAKARABABU dinesh243 at gmail.com
Fri Aug 7 11:44:19 WST 2009


Is there anyway we can simulate the key-press-event??
Or in other words, is there anyway we can call the gtk.main_quit() and then
"destroy" the window by just setting a flag once the image gets displayed,
without actually waiting for a key to be pressed??

Thanks again for the suggestions. I really appreciate you taking the time to
answer the questions. This has been really helpful.

Thanks a lot.

On Thu, Aug 6, 2009 at 2:06 AM, A.T.Hofkamp <a.t.hofkamp at tue.nl> wrote:

> DINESHBABU DINAKARABABU wrote:
>
>> Hi,
>>
>> I tried it. But, I need to do a key press for closing the first image and
>>
> view the next image and so on. I am on the lookout for some method which
> opens
> and displays the first image, once the pixbuf gets updated, the first image
> closes and gets replaced by the next image and so on. I need successive
> display of images with the pixbuf updating without any manual intervention.
>
> Capture key-press events, and load the new picture from the socket when you
> receive a key-press event.
>



-- 
Cheers
DB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090806/9490b3f9/attachment.htm 


More information about the pygtk mailing list