#NEWLINE# def set_depends( self , widget_list ) : #NEWLINE# #INDENT# '\n        Explicitly specify the list of widgets that this canvas\n        depends on.  If any of these widgets change this canvas\n        will have to be updated.\n        ' #NEWLINE# if widget_list . widget_info : #NEWLINE# #INDENT# raise self . _finalized_error #NEWLINE# #UNINDENT# self . depends_on = widget_list