#NEWLINE# def initialize( self ) : #NEWLINE# #INDENT# ' Initialize this object all of its children recursively.\n\n        This is called to give the objects in the tree the opportunity\n        to initialize additional state which depends upon the object\n        tree being fully built. It is the responsibility of external\n        code to call this method at the appropriate time. This will\n        emit the `initialized` signal after all of the children have\n        been initialized.\n\n        ' #NEWLINE# for child in self . children [ : ] : #NEWLINE# #INDENT# if isinstance ( child , Declarative ) : #NEWLINE# #INDENT# child . initialize ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . is_initialized = True #NEWLINE# self . initialized ( )