comparison 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
comparison
equal deleted inserted replaced
37:b7ff52d45b9a 38:8c90e0077cfe
221 end 221 end
222 end 222 end
223 } 223 }
224 } 224 }
225 } 225 }
226 new_menu{
227 text = "Window"
228 menu_items = {
229 new_menu_item{
230 text = "Duplicate Window"
231 action_listener = action_listener(window.duplicate)
232 }
233 }
234 }
226 } 235 }
227 } 236 }
228 window.frame.set_menu_bar(menu_bar) 237 window.frame.set_menu_bar(menu_bar)
229 end 238 end
230 239