application/main.c

changeset 53
62205699cd0e
parent 52
25e5390cce41
child 54
97bafeca1c7c
--- a/application/main.c	Tue Jul 22 09:51:17 2014 +0200
+++ b/application/main.c	Tue Jul 22 19:15:44 2014 +0200
@@ -136,6 +136,13 @@
     ui_textarea_nv(tab2, "text");
     ui_set_document(tab2, doc2);
     
+    UiObject *tab3 = ui_document_tab(view);
+    Document *doc3 = ui_document_new(1024);
+    UiContext *ctx3 = ui_document_context(doc3);
+    ui_document_regtext(doc3, "text", &doc3->text);
+    ui_textarea_nv(tab3, "text");
+    ui_set_document(tab3, doc3);
+    
     ui_show(window);
     ui_main();
     

mercurial