'Returns the current focused terminal'

def get_current_focused_terminal(self):

    current_tab = self.notebook.get_current_page()
    current_event_box = self.notebook.get_children()[current_tab]
    current_scrolled_window = current_event_box.get_children()[0]
    current_terminal = current_scrolled_window.get_child()
    return current_terminal
