Go to:
Return value. Related commands. Flags. Examples.
Synopsis
evalDeferred [command]
This command takes the string it is given and evaluates it
during the next available idle time. It is useful for attaching
commands to controls that can change or delete the control.
Return value
none
Related commands
eval, evalEcho, scriptJobFlags
lowestPriority
Long name (short name) | [argument types] | Properties |
---|
-lowestPriority
(-lp)
|
|  |
|
Specified that the command to be executed should be deferred with
the lowest priority. That is, it will be executed when no other
idle events are scheduled.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command
|
Examples
window;
columnLayout;
string $button = `button -label "Delete Me"`;
button -edit
-command ("evalDeferred \"deleteUI " + $button + "\"") $button;
showWindow;