#NEWLINE# def add_page( self , name , page ) : #NEWLINE# #INDENT# ' Adds a page with the specified name. ' #NEWLINE# self . _pages [ name ] = pw #NEWLINE# ( sw , sh ) = self . GetSize ( ) #NEWLINE# ( pw , ph ) = page . GetSize ( ) #NEWLINE# self . SetSize ( ( max ( sw , pw ) , max ( sh , ph ) ) ) #NEWLINE# page . Show ( False ) #NEWLINE# return page