9#ifndef GP_WIDGET_SPINBUTTON_H
10#define GP_WIDGET_SPINBUTTON_H
12#include <widgets/gp_widget_choice.h>
25static inline gp_widget *gp_widget_spinbutton_new(
const char *choices[],
26 size_t cnt,
size_t sel)
28 return gp_widget_choice_new(GP_WIDGET_SPINBUTTON, choices, cnt, sel);
40static inline gp_widget *
41gp_widget_spinbutton_ops_new(
const struct gp_widget_choice_ops *ops)
43 return gp_widget_choice_ops_new(GP_WIDGET_SPINBUTTON, ops);
61static inline gp_widget *
62gp_widget_spinbutton_arr_new(
const void *array,
63 size_t memb_cnt, uint16_t memb_size,
64 uint16_t memb_off,
size_t sel,
int flags)
66 return gp_widget_choice_arr_new(GP_WIDGET_SPINBUTTON, array,
67 memb_cnt, memb_size, memb_off,