Macaw OS C reference

Function ui_row

#include <macawui.h>
void ui_row(int n, const double *weights);

Puts the next few widgets side by side on one line, sharing its width.

Parameters

nint
How many widgets go on the line, up to 64.
weightsconst double *
An array of n doubles for their widths, like { 2, 1 } to make the first twice as wide. NULL makes them all as wide.

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