def get_selected_thread(self):
        """returns currently selected :class:`~alot.db.Thread`"""
        threadlinewidget = self.get_selected_threadline()
        thread = None
        if threadlinewidget:
            thread = threadlinewidget.get_thread()
        return thread
def get_selected_thread ( self ) : threadlinewidget = self . get_selected_threadline ( ) thread = None if threadlinewidget : thread = threadlinewidget . get_thread ( ) return thread
returns currently selected :class:`~alot.db.Thread`