#ifndef BUTTON_H
#define BUTTON_H
#include "../ui/toolkit.h"
#include "../ui/button.h"
#include "toolkit.h"
#ifdef __cplusplus
extern "C" {
#endif
void ui_button_clicked(GtkWidget *widget, UiEventData *event);
void ui_toggled_obs(GtkToggleToolButton *widget, UiVarEventData *event);
UIWIDGET ui_checkbox_var(UiObject *obj,
char *label, UiVar *var);
UIWIDGET ui_radiobutton_var(UiObject *obj,
char *label, UiVar *var);
void ui_radio_obs(GtkToggleToolButton *widget, UiVarEventData *event);
int64_t ui_radiobutton_get(UiInteger *value);
void ui_radiobutton_set(UiInteger *value,
int64_t i);
#ifdef __cplusplus
}
#endif
#endif