#NEWLINE# def _window_event( self , widget , event ) : #NEWLINE# #INDENT# if ( ( self . changed_mask & gtk . gdk . WINDOW_STATE_FULLSCREEN ) or ( event . changed_mask & gtk . gdk . WINDOW_STATE_MAXIMIZED ) ) : #NEWLINE# #INDENT# self . _fullscreen = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _fullscreen = False