#NEWLINE# def __init__( self , chart ) : #NEWLINE# #INDENT# self . chart = chart #NEWLINE# self . canvas = chart . canvas #NEWLINE# self . b2 = Button ( 'Compositing' , chart ) #NEWLINE# self . b3 = Button ( 'Paths & shapes' , self ) #NEWLINE# self . b4 = Button ( 'Arcs & circles' , self ) #NEWLINE# self . b1 = Button ( 'Bezier curves' , self ) #NEWLINE# self . b6 = Button ( 'Colors' , self ) #NEWLINE# self . b7 = Button ( 'Translating' , self ) #NEWLINE# self . b8 = Button ( 'Scaling' , self ) #NEWLINE# self . b5 = Button ( 'Rotating' , self ) #NEWLINE# self . b10 = Button ( 'Transparency' , self ) #NEWLINE# self . b11 = Button ( 'Lines' , self ) #NEWLINE# self . b9 = Button ( 'Animations' , self ) #NEWLINE# hp = HorizontalPanel ( ) #NEWLINE# vp = VerticalPanel ( ) #NEWLINE# vp . setHorizontalAlignment ( HasAlignment . ALIGN_LEFT ) #NEWLINE# vp . add ( Label ( 'MENU' ) ) #NEWLINE# vp . setSpacing ( 6 ) #NEWLINE# vp . add ( self . b2 ) #NEWLINE# vp . add ( self . b3 ) #NEWLINE# vp . add ( self . b4 ) #NEWLINE# vp . add ( self . b1 ) #NEWLINE# vp . add ( self . b6 ) #NEWLINE# vp . add ( self . b7 ) #NEWLINE# vp . add ( self . b8 ) #NEWLINE# vp . add ( self . b5 ) #NEWLINE# vp . add ( self . b10 ) #NEWLINE# vp . add ( self . b11 ) #NEWLINE# vp . add ( self . b9 ) #NEWLINE# hp . add ( vp ) #NEWLINE# Composite . __init__ ( self , hp )