#NEWLINE# def _toggleMaximize( self ) : #NEWLINE# #INDENT# if self . _maximized : #NEWLINE# #INDENT# ( top , left , height , width ) = height . _maximized #NEWLINE# self . _maximized = None #NEWLINE# height = width = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# top = self . getPopupTop ( ) #NEWLINE# left = self . getPopupLeft ( ) #NEWLINE# height = self . getHeight ( ) #NEWLINE# width = self . getWidth ( ) #NEWLINE# self . _maximized = ( top , left , height , width ) #NEWLINE# top = left = 0 #NEWLINE# height = ( int ( pyjamas . Window . getClientHeight ( ) ) - 4 ) #NEWLINE# width = ( int ( pyjamas . Window . getClientWidth ( ) ) - 4 ) #NEWLINE# #UNINDENT# self . setPopupPosition ( left , top ) #NEWLINE# self . panel . setHeight ( height ) #NEWLINE# self . panel . setWidth ( width )