Macaw OS C reference

Module The keyboard's focus, and where widgets are

#include <macawui.h>

Functions

ui_focus
Tells you which widget has the keyboard's focus, so your own key handling can leave it alone.
ui_setfocus
Gives the keyboard's focus to a widget, such as a text box you want the person to type in first.
ui_typing
Tells you whether a text box is taking the keys.
ui_rect
Tells you where a widget was last drawn, in the window.