Normally if you call da.queue_draw() ( http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--queue-draw) the widget will receive the expose event (and redraw itself) without manual intervention
On Fri, Aug 7, 2009 at 05:44, DINESHBABU DINAKARABABU <[email protected]>wrote: > 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 <[email protected]> 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 > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > -- http://www.nathansamson.be To understand recursion, you must first understand recursion.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
