application/main.c

branch
newapi
changeset 320
be224cf1f50e
parent 317
b30415965ec3
child 322
22f6dadd9f46
--- a/application/main.c	Sun Sep 29 20:24:46 2024 +0200
+++ b/application/main.c	Thu Oct 03 11:42:14 2024 +0200
@@ -68,7 +68,9 @@
 }
 
 void action_toolbar_button(UiEvent *event, void *userdata) {
+    printf("toolbar button\n");
     
+    ui_dialog(event->obj, .title = "Dialog Title", .content = "Content Label", .button1_label = "btn1", .button2_label = "btn2", .input = TRUE, .closebutton_label = "Cancel");
 }
 
 MyDocument* create_doc(void) {

mercurial