ui/ui/tree.h

branch
newapi
changeset 215
1bd5534c395d
parent 204
4a258d47f964
child 221
a82d9beaa94a
--- a/ui/ui/tree.h	Fri Oct 13 11:26:47 2023 +0200
+++ b/ui/ui/tree.h	Fri Oct 13 15:20:54 2023 +0200
@@ -129,6 +129,7 @@
 };
 
 UIEXPORT UiModel* ui_model(UiContext *ctx, ...);
+UIEXPORT UiModel* ui_model_copy(UiContext *ctx, UiModel* model);
 UIEXPORT void ui_model_free(UiContext *ctx, UiModel *mi);
 
 #define ui_listview(obj, ...) ui_listview_create(obj, (UiListArgs) { __VA_ARGS__ } )

mercurial