Thanks for pointing me to this Tk::after
. However, I must honestly admit that I'm having difficulty in understanding the docs.
Firstly, the after
method has only two forms.
In both forms the first parameter is time delay and this should be specified in milliseconds. But Khen1950fx
's construct specifies a string 'idle'
Secondly, the second parameter is the callback whose execution has to be delayed. But in Khen1950fx
's construct the method after
is called on an instance of MainWindow and does not specify any name of the callback method whose execution is to be delayed.
But fundamentally speaking though, how does delaying the execution of a callback get helpful?
I'm unable to find any other docs on this. So please let me know. Thanks in advance