#NEWLINE# def add_name( self , name ) : #NEWLINE# #INDENT# item_w = gtk . MenuItem ( label = name ) #NEWLINE# child = Menu ( ) #NEWLINE# self . add_ref ( child ) #NEWLINE# self . menus [ name ] = child #NEWLINE# item_w . set_submenu ( child . get_widget ( ) ) #NEWLINE# self . widget . append ( item_w ) #NEWLINE# item_w . show ( ) #NEWLINE# return child