code: def focussed_widget(self):
          
          # If the frame has no focus, it can't have a focussed widget.
          if not self._has_focus:
              return None
  
          try:
              layout = self._layouts[self._focus]
              return layout._columns[layout._live_col][layout._live_widget]
          except IndexError:
              # If the current indexing is invalid it's because no widget is selected.
              return None
docs: The widget that currently has the focus within this Frame.