node/lib/metasm/metasm/gui/gtk.rb
def update_menu
		# clear
		@menubar.children.dup.each { |mc| @menubar.remove mc }
		# populate the menubar using @menu
		@menu.each { |e| create_menu_item(@menubar, e) }
		@menubar.show_all
	end
# make the window's MenuBar reflect the content of @menu
make the window's MenuBar reflect the content of @menu
make the window ' s MenuBar reflect the content of @menu
def update_menu
		@menubar.children.dup.each { |mc| @menubar.remove mc }
		@menu.each { |e| create_menu_item(@menubar, e) }
		@menubar.show_all
	end
def update_menu @menubar . children . dup . each { | mc | @menubar . remove mc } @menu . each { | e | create_menu_item ( @menubar , e ) } @menubar . show_all end
make the window's MenuBar reflect the content of @menu
make the window ' s MenuBar reflect the content of @menu
# clear # populate the menubar using @menu