diff options
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -469,18 +469,6 @@ class UI: if posthook is not None: posthook(ui=self, dbm=self.dbman, buf=buf, success=success) - def get_deep_focus(self, startfrom=None): - """return the bottom most focussed widget of the widget tree""" - if not startfrom: - startfrom = self.current_buffer - if 'get_focus' in dir(startfrom): - focus = startfrom.get_focus() - if isinstance(focus, tuple): - focus = focus[0] - if isinstance(focus, urwid.Widget): - return self.get_deep_focus(startfrom=focus) - return startfrom - def get_buffers_of_type(self, t): """ returns currently open buffers for a given subclass of |