Go to: Synopsis. Return value. Related. Flags. MEL examples.
evalDeferred [-lowestPriority]
[command]
evalDeferred is undoable, queryable, and editable.
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.None
In query mode, return type is based on queried flag.
Long name (short name) | argument types | Properties | ||
---|---|---|---|---|
-lowestPriority(-lp)
|
|
|||
|
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 |
window; columnLayout; string $button = `button -label "Delete Me"`; button -edit -command ("evalDeferred \"deleteUI " + $button + "\"") $button; showWindow;