#NEWLINE# def __visibilityButtonClicked( self , button ) : #NEWLINE# #INDENT# assert ( button is self . __visibilityButton ) #NEWLINE# if self . __scriptRangeStart . getVisible ( ) : #NEWLINE# #INDENT# self . __scriptRangeStart . setVisible ( False ) #NEWLINE# self . __scriptRangeEnd . setVisible ( False ) #NEWLINE# self . __visibilityButton . setImage ( 'timeline2.png' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . __sliderRangeStart . getVisible ( ) : #NEWLINE# #INDENT# self . __sliderRangeStart . setVisible ( False ) #NEWLINE# self . __sliderRangeEnd . setVisible ( False ) #NEWLINE# self . __visibilityButton . setImage ( 'timeline1.png' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . __scriptRangeStart . setVisible ( True ) #NEWLINE# self . __scriptRangeEnd . setVisible ( True ) #NEWLINE# self . __sliderRangeStart . setVisible ( True ) #NEWLINE# self . __sliderRangeEnd . setVisible ( True ) #NEWLINE# self . __visibilityButton . setImage ( 'timeline3.png' )