ui/gtk/text.h

changeset 78
ad7ced6cf00b
parent 72
d5307e9ee384
--- a/ui/gtk/text.h	Mon Nov 11 20:45:34 2024 +0100
+++ b/ui/gtk/text.h	Mon Nov 11 22:42:09 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