a UI toggle button macro that provides an immediate execution event
UItoggle UIdynamic_toggle{
UImake_dyn_wind UImake_dyn_wind {
in_handle => <-.handle;
};
};
Normally, widget events are placed on the Object Manager's execution queue with no special priority. The UIdynamic_toggle adds an immediate execution update method to the UItoggle object so that the Object Manager executes its update method immediately.