Macaw OS C reference

Function ui_nexty

#include <macawui.h>
int ui_nexty(void);

Tells you where the next widget would go, so you can draw something of your own under a form.

Parameters

It takes nothing.

Returns int

The next widget's top, in pixels from the window's top, or -1 outside ui_begin and ui_finish.

In The frame and layout, with ui_begin, ui_beginex, ui_finish, ui_row, ui_space, ui_group, ui_endgroup, ui_at, ui_disabled.