13#ifndef GP_WIDGET_CLASS_CHOICE_H
14#define GP_WIDGET_CLASS_CHOICE_H
44 const char *(*get_choice)(
gp_widget *self,
size_t idx);
84 const char *
const *choices;
89enum gp_widget_choice_flags {
90 GP_WIDGET_CHOICE_COPY = 1,
93struct gp_widget_choice {
128 const char *choices[],
129 size_t cnt,
size_t sel);
159 size_t memb_cnt, uint16_t memb_size,
160 uint16_t memb_off,
size_t sel,
161 enum gp_widget_choice_flags flags);
A JSON parser internal state.
A parsed JSON key value pair.