Function ui_button
#include <macawui.h>int ui_button(const char *label, int w);
Shows a button. Enter or Space presses it too, while it has the keyboard's focus.
Parameters
labelconst char *- The text on the button.
wint- Its width in pixels. 0 fits the label (or fills its share of a
ui_row).
Returns int
1 in the frame it's clicked, 0 otherwise.
In Widgets, with ui_label, ui_heading, ui_separator, ui_checkbox, ui_radio, ui_slider, ui_textbox, ui_textboxex, ui_listbox, ui_dropdown, ui_tabs, ui_progress, ui_swatches, ui_image.