diff -r 822fcb83bdf1 -r 8c028965410a ui/gtk/text.h --- a/ui/gtk/text.h Tue Oct 29 11:52:01 2024 +0100 +++ b/ui/gtk/text.h Tue Oct 29 17:52:06 2024 +0100 @@ -67,9 +67,10 @@ } UiTextArea; typedef struct UiTextField { - UiContext *ctx; - UiVar *var; - // TODO: validatefunc + UiObject *obj; + UiVar *var; + ui_callback onchange; + void *onchangedata; } UiTextField; typedef struct UiPathTextField {