Macaw OS C reference

Function ui_at

#include <macawui.h>
void ui_at(int x, int y, int w);

Puts the next widget at exactly this place, instead of under the last one.

Parameters

xint
Its left edge, in pixels from the window's left.
yint
Its top edge, in pixels from the window's top.
wint
Its width in pixels. 0 gives it the width it would usually have.

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