; ; Copyright (c) 2016-2025, Jani Salonen ; All rights reserved. ; ; ; Menu is attached to window where WIDGET_STACK_ID is set to 1. ; ; container_type "container_id" { ; window "1" { ; ; menu "menu_name" { optional_icon ; --------- ------------- ; menu "File" { examples/datafiles/vesmir_menu_1.tga ; ; type "title", id, key, callback, flags, optional_icon ; ---- ----- -- --- -------- ----- ------------- ; item "Exit", 1, none, cb_file_exit, none, none } menu "Object" { item "Render", 10, none, cb_object_render, none, none item "Print", 11, none, cb_object_print, none, none item "Save", 12, none, cb_object_save, none, none } menu "Time" { item "Reset", 20, none, cb_time_reset, none, none delim radio "Increase 10%", 30, none, cb_time_set, none, none radio "Increase 20%", 30, none, cb_time_set, none, none radio "Increase 30%", 30, none, cb_time_set, none, none radio "Increase 40%", 30, none, cb_time_set, none, none radio "Increase 50%", 30, none, cb_time_set, none, none radio "Increase 60%", 30, none, cb_time_set, none, none radio "Increase 70%", 30, none, cb_time_set, none, none radio "Increase 80%", 30, none, cb_time_set, none, none radio "Increase 90%", 30, none, cb_time_set, none, none radio "Increase 100%", 30, none, cb_time_set, none, none } }