ui/gtk/text.h

branch
newapi
changeset 379
958bae372271
parent 371
8c028965410a
--- a/ui/gtk/text.h	Sun Nov 10 15:27:44 2024 +0100
+++ b/ui/gtk/text.h	Tue Nov 12 14:58:03 2024 +0100
@@ -61,9 +61,12 @@
 } UiUndoMgr;
 
 typedef struct UiTextArea {
-    UiContext *ctx;
-    UiVar    *var;
-    int       last_selection_state;
+    UiObject    *obj;
+    UiContext   *ctx;
+    UiVar       *var;
+    int         last_selection_state;
+    ui_callback onchange;
+    void        *onchangedata;
 } UiTextArea;
 
 typedef struct UiTextField {

mercurial