ui/common/context.h

changeset 1195
6ec3c71ba298
parent 1166
01653cc7256b
--- a/ui/common/context.h	Sat Jun 13 14:12:43 2026 +0200
+++ b/ui/common/context.h	Sat Jun 13 17:08:09 2026 +0200
@@ -98,8 +98,14 @@
     // attaching a document will automatically detach the current document
     UiBool single_document_mode;
     
-    ui_callback   close_callback;
-    void          *close_data;
+    ui_callback   onattach;
+    void          *onattachdata;
+    
+    ui_callback   ondetach;
+    void          *ondetachdata;
+    
+    ui_callback   onclose;
+    void          *onclosedata;
     
     unsigned int  ref;
 };

mercurial