#NEWLINE# def __init__( self , **kwargs ) : #NEWLINE# #INDENT# if ( ( 'buttons' in kwargs ) and ( 'buttons_box' in kwargs ) ) : #NEWLINE# #INDENT# raise ValueError ( "'buttons' keyword cannot be used with 'buttons_box' argument" ) #NEWLINE# #UNINDENT# if ( 'buttons' in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'buttons_box' ] = HBox ( children = kwargs [ 'buttons' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'buttons_box' in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'buttons' ] = self [ 'buttons_box' ] . children #NEWLINE# #UNINDENT# #UNINDENT# super ( Dialog , self ) . __init__ ( ** kwargs )