#NEWLINE# def addItems( self , menu , items , actions ) : #NEWLINE# #INDENT# if ( ( menu in self . settings [ 'menu' ] ) and ( 'items' in self . settings [ 'menu' ] [ menu ] ) and ( 'actions' in self . settings [ 'menu' ] [ menu ] ) ) : #NEWLINE# #INDENT# self . settings [ 'menu' ] [ menu ] [ 'items' ] += copy . deepcopy ( self ) #NEWLINE# self . settings [ 'menu' ] [ menu ] [ 'actions' ] += copy . deepcopy ( actions )