Function ui_disabled
#include <macawui.h>int ui_disabled(int on);
Greys out the widgets after it, and they stop answering the mouse and keys. It stays that way, into the next frames too, until you switch it off.
Parameters
onint- 1 to grey them out, 0 to go back to normal.
Returns int
What it was before: 1 if widgets were greyed out, 0 if not.
In The frame and layout, with ui_begin, ui_beginex, ui_finish, ui_row, ui_space, ui_group, ui_endgroup, ui_at, ui_nexty.