diff -r 3ac472683246 -r ae61523bce20 ui/gtk/toolkit.h --- a/ui/gtk/toolkit.h Thu Oct 03 18:24:13 2024 +0200 +++ b/ui/gtk/toolkit.h Thu Oct 03 18:52:51 2024 +0200 @@ -112,6 +112,22 @@ void *customdata; } UiEventData; +typedef struct UiEventDataExt { + UiObject *obj; + ui_callback callback; + void *userdata; + ui_callback callback2; + void *userdata2; + int value0; + int value1; + int value2; + int value3; + void *customdata0; + void *customdata1; + void *customdata2; + void *customdata3; +} UiEventDataExt; + typedef struct UiVarEventData { UiObject *obj; UiVar *var;