Remove unused code (container.py, toggle_zoom)

This commit is contained in:
Vulcalien 2022-04-09 11:19:36 +02:00
parent 04bd693586
commit c2f2addf05
1 changed files with 0 additions and 11 deletions

View File

@ -134,17 +134,6 @@ class Container(object):
"""Handle a keyboard event requesting a terminal resize""" """Handle a keyboard event requesting a terminal resize"""
raise NotImplementedError('resizeterm') raise NotImplementedError('resizeterm')
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 zoom(self, widget, fontscale = False): def zoom(self, widget, fontscale = False):
"""Zoom a terminal""" """Zoom a terminal"""
raise NotImplementedError('zoom') raise NotImplementedError('zoom')