[PyKDE] Does QT have an equvalent to Tkinter.Frame.after()

Giovanni Bajo rasky at develer.com
Thu Apr 13 00:09:09 BST 2006


David J Brooks <daeg at houston.rr.com> wrote:

> Tkinter.Frames defines its after method thusly:
> 
> after(self, ms, func=None, *args) unbound Tkinter.Frame method
>     Call function once after given time.
> 
>     MS specifies the time in milliseconds. FUNC gives the
>     function which shall be called. Additional parameters
>     are given as parameters to the function call.  Return
>     identifier to cancel scheduling with after_cancel.
> 
> Does Qt have something that works more or less the same way?

QTimer.

Giovanni Bajo




More information about the PyQt mailing list