#NEWLINE# def build_widget_list_from_tree( self , node ) : #NEWLINE# #INDENT# if ( not hasattr ( node , 'attributes' ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not ( 'editor_varname' in node . attributes . keys ( ) ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . listeners_list . append ( child ) #NEWLINE# for child in node . children . values ( ) : #NEWLINE# #INDENT# self . build_widget_list_from_tree ( child )