#NEWLINE# def __init__( self , orientation = 'horizontal' ) : #NEWLINE# #INDENT# super ( Toolbar , self ) . __init__ ( ) #NEWLINE# w = gtk . Toolbar ( ) #NEWLINE# w . set_style ( gtk . TOOLBAR_ICONS ) #NEWLINE# if ( orientation == 'horizontal' ) : #NEWLINE# #INDENT# w . set_orientation ( gtk . ORIENTATION_HORIZONTAL ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# w . set_orientation ( gtk . ORIENTATION_VERTICAL ) #NEWLINE# #UNINDENT# self . widget = w