Mercurial Hosting > editor
diff src/luan_editor/menu.luan @ 38:8c90e0077cfe
add duplicate window
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 15 May 2025 11:03:48 -0600 |
parents | b7ff52d45b9a |
children | 38bc1cdf77c8 |
line wrap: on
line diff
--- a/src/luan_editor/menu.luan Mon Apr 21 13:07:29 2025 -0600 +++ b/src/luan_editor/menu.luan Thu May 15 11:03:48 2025 -0600 @@ -223,6 +223,15 @@ } } } + new_menu{ + text = "Window" + menu_items = { + new_menu_item{ + text = "Duplicate Window" + action_listener = action_listener(window.duplicate) + } + } + } } } window.frame.set_menu_bar(menu_bar)