(self, window, event)
return(False)
Handle the state of the window changing
Handle the state of the window changing
Handle the state of the window changing
def on_window_state_changed(self, window, event):
        """Handle the state of the window changing"""
        self.isfullscreen = bool(event.new_window_state & 
                                 Gdk.WindowState.FULLSCREEN)
        self.ismaximised = bool(event.new_window_state &
                                 Gdk.WindowState.MAXIMIZED)
        dbg('Window::on_window_state_changed: fullscreen=%s, maximised=%s' \
                % (self.isfullscreen, self.ismaximised))

        return(False)
def on_window_state_changed ( self , window , event ) : self . isfullscreen = bool ( event . new_window_state & Gdk . WindowState . FULLSCREEN ) self . ismaximised = bool ( event . new_window_state & Gdk . WindowState . MAXIMIZED ) dbg ( 'Window::on_window_state_changed: fullscreen=%s, maximised=%s' % ( self . isfullscreen , self . ismaximised ) ) return ( False )