9#include "../helpers/theme_picker_model.h"
Definition theme_picker.c:14
Definition theme_picker_model.c:7
void theme_picker_free(ThemePicker *instance)
Delete a ThemePicker instance.
Definition theme_picker.c:153
void theme_picker_set_model(ThemePicker *instance, const ThemePickerModel *model)
Set the model to show in this ThemePicker instance.
Definition theme_picker.c:163
ThemePicker * theme_picker_alloc(Widget *parent)
Create a new ThemePicker instance.
Definition theme_picker.c:143
void theme_picker_set_callback(ThemePicker *instance, ThemePickerCallback callback, void *context)
Set the function to be called upon theme selection.
Definition theme_picker.c:171
void(* ThemePickerCallback)(uint32_t index, void *context)
ThemePickerCallback function type.
Definition theme_picker.h:24
void theme_picker_set_current_item(ThemePicker *instance, uint32_t index)
Set the currently selected item index.
Definition theme_picker.c:178
Widget * theme_picker_get_base(ThemePicker *instance)
Get a pointer to the base class instance.
Definition theme_picker.c:158