On jeudi 18 septembre 2008, Thomas Dybdahl Ahle wrote: > tor, 18 09 2008 kl. 17:50 +0200, skrev Frédéric: > > Is there a way to automatically do this right after the dialog is > > opened? > > Is there a gtk feature to push an event and have it executed as first > > dialog event, right after it enters in its event loop? > > I use this little 10 liner to hold it down, when the user have scrolled > down, or let it free, when the user has scrolled elsewhere: > http://www.google.com/codesearch?hl=en&q=keepDown > +show:QuW4aaHebJQ:t8BUDJ2TNtI:QuW4aaHebJQ&sa=N&cd=3&ct=rc&cs_p=http://py >chess.googlecode.com/svn/trunk&cs_f=lib/pychess/System/uistuff.py#l43
Great :o) Thank you very much. -- Frédéric http://www.gbiloba.org _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/