(self, widget, fontscale = False)
Toggle the existing zoom state
Toggle the existing zoom state
Toggle the existing zoom state
def toggle_zoom(self, widget, fontscale = False):
        """Toggle the existing zoom state"""
        try:
            if self.get_property('term_zoomed'):
                self.unzoom(widget)
            else:
                self.zoom(widget, fontscale)
        except TypeError:
            err('Container::toggle_zoom: %s is unable to handle zooming, for \
            %s' % (self, widget))
def toggle_zoom ( self , widget , fontscale = False ) : try : if self . get_property ( 'term_zoomed' ) : self . unzoom ( widget ) else : self . zoom ( widget , fontscale ) except TypeError : err ( 'Container::toggle_zoom: %s is unable to handle zooming, for \
            %s' % ( self , widget ) )