--- a/ui/ui/toolkit.h Sun Jan 25 11:24:02 2026 +0100 +++ b/ui/ui/toolkit.h Sun Jan 25 11:44:49 2026 +0100 @@ -689,6 +689,7 @@ UIEXPORT int ui_list_getselection(UiList *list); UIEXPORT void ui_list_setselection(UiList *list, int index); +UIEXPORT void ui_list_setselection2(UiList *list, int index, UiBool selection_event); UIEXPORT void ui_listselection_free(UiListSelection selection); @@ -719,6 +720,8 @@ UIEXPORT int ui_get_setop(void); UIEXPORT void ui_onchange_events_enable(UiBool enable); UIEXPORT UiBool ui_onchange_events_is_enabled(void); +UIEXPORT void ui_selection_events_enable(UiBool enable); +UIEXPORT UiBool ui_selection_events_is_enabled(void); UIEXPORT void ui_global_list_initializer(ui_list_init_func func, void *userdata);