#NEWLINE# def __init__( self , frame , direction , low , high , show_thumb = True ) : #NEWLINE# #INDENT# view . View . __init__ ( self , frame ) #NEWLINE# self . on_value_changed = callback . Signal ( ) #NEWLINE# self . direction = direction #NEWLINE# self . low = min ( low , high ) #NEWLINE# self . high = max ( low , high ) #NEWLINE# self . thumb = scroll . ScrollbarThumbView ( self . direction ) #NEWLINE# self . thumb . hidden = ( not show_thumb ) #NEWLINE# self . _add_track ( show_thumb ) #NEWLINE# self . add_child ( self . thumb ) #NEWLINE# self . _value = None #NEWLINE# self . value = ( ( low + high ) / 2.0 )