--- a/ui/motif/container.h Sun Feb 23 17:10:45 2025 +0100 +++ b/ui/motif/container.h Mon Feb 24 22:08:27 2025 +0100 @@ -117,6 +117,7 @@ Widget content; Widget current; UiTab *current_tab; + int current_index; int height; Pixel bg1; Pixel bg2; @@ -140,6 +141,8 @@ void ui_motif_tabview_add_tab(UiMotifTabView *tabview, int index, const char *name, Widget child); void ui_motif_tabview_remove(UiMotifTabView *tabview, int index); void ui_motif_tabview_change_tab(UiMotifTabView *tabview, UiTab *tab); +int64_t ui_tabview_get(UiInteger *i); +void ui_tabview_set(UiInteger *i, int64_t value); Widget ui_tabview_container_prepare(UiContainerPrivate *ctn, Arg *args, int *n); void ui_tabview_container_add(UiContainerPrivate *ctn, Widget widget);