application/main.c

changeset 441
752bd110375e
parent 438
7b1d715e5c11
equal deleted inserted replaced
440:7c4b9cba09ca 441:752bd110375e
481 481
482 int main(int argc, char** argv) { 482 int main(int argc, char** argv) {
483 ui_init("app1", argc, argv); 483 ui_init("app1", argc, argv);
484 ui_onstartup(application_startup, NULL); 484 ui_onstartup(application_startup, NULL);
485 485
486 ui_set_property("ui.gtk.window.showtitle", "main");
487
486 // menu 488 // menu
487 ui_menu("File") { 489 ui_menu("File") {
488 ui_menuitem(.label = "Test"); 490 ui_menuitem(.label = "Test");
489 } 491 }
490 492

mercurial