A menu.
This tag must be a child of a menu_bar descriptor.
build, #build, #builder, #setup_widget
74 75 76 77 78
# File 'lib/rui/toolkits/qtbase/gui_builder.rb', line 74 def create_element(window, parent, desc) menu = Qt::Menu.new(desc.opts[:text].to_s, window) parent.add_menu(menu) menu end