#NEWLINE# def update_layout( self , ops ) : #NEWLINE# #INDENT# ' Update the layout configuration using layout operations.\n\n        Paramters\n        ---------\n        ops : DockLayoutOp or iterable\n            A single DockLayoutOp instance or an iterable of the same.\n            The operations will be executed in order. If a given op is\n            not valid for the current layout state, it will be skipped.\n\n        ' #NEWLINE# if isinstance ( ops , DockLayoutOp ) : #NEWLINE# #INDENT# ops = [ ops ] #NEWLINE# #UNINDENT# for op in ops : #NEWLINE# #INDENT# assert isinstance ( op , DockLayoutOp ) #NEWLINE# #UNINDENT# if self . proxy_is_active : #NEWLINE# #INDENT# self . proxy . update_layout ( ops )