13#ifndef GP_WIDGET_CLASS_CHOICE_H
14#define GP_WIDGET_CLASS_CHOICE_H
46 const char *(*get_choice)(
gp_widget *self,
size_t idx);
86 const char *
const *choices;
91enum gp_widget_choice_flags {
92 GP_WIDGET_CHOICE_COPY = 1,
95struct gp_widget_choice {
116 char payload[] GP_ALIGNED;
130 const char *choices[],
131 size_t cnt,
size_t sel);
161 size_t memb_cnt, uint16_t memb_size,
162 uint16_t memb_off,
size_t sel,
163 enum gp_widget_choice_flags flags);
A compiler dependent macros.
A JSON parser internal state.
A parsed JSON key value pair.