--- a/ui/common/context.h Sat Jun 13 17:19:59 2026 +0200 +++ b/ui/common/context.h Sun Jun 14 10:52:28 2026 +0200 @@ -173,6 +173,9 @@ void uic_add_state_widget_i(UiContext *ctx, void *widget, ui_enablefunc enable, const int *states, size_t numstates); void uic_remove_state_widget(UiContext *ctx, void *widget); +UIEXPORT void ui_context_onattach_action(UiContext *ctx, const char *action); +UIEXPORT void ui_context_ondetach_action(UiContext *ctx, const char *action); + #ifdef __cplusplus } #endif