[PyKDE] Does QT have an equvalent to Tkinter.Frame.after()
Andreas Pakulat
apaku at gmx.de
Thu Apr 13 00:18:04 BST 2006
On 12.04.06 17:40:36, David J Brooks 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?
Please don't hijack other peoples threads.
And yes Qt does have something like that, it's calles QTimer. With a
single-shot-timer you can have a slot executed after a specific amount
of time, however you cannot pass arguments to that slot. See Qt
documentation for more information.
Andreas
--
It may or may not be worthwhile, but it still has to be done.
More information about the PyQt
mailing list