(self, uuid)
Set the last active term for uuid
Set the last active term for uuid
Set the last active term for uuid
def set_last_active_term(self, uuid):
        """Set the last active term for uuid"""
        widget = self.terminator.find_terminal_by_uuid(uuid.urn)
        if not widget:
            err("Cannot find terminal with uuid: %s, so cannot make it active" % (uuid.urn))
            return
        tabnum = self.page_num_descendant(widget)
        if tabnum == -1:
            err("No tabnum found for terminal with uuid: %s" % (uuid.urn))
            return
        nth_page = self.get_nth_page(tabnum)
        self.last_active_term[nth_page] = uuid
def set_last_active_term ( self , uuid ) : widget = self . terminator . find_terminal_by_uuid ( uuid . urn ) if not widget : err ( "Cannot find terminal with uuid: %s, so cannot make it active" % ( uuid . urn ) ) return tabnum = self . page_num_descendant ( widget ) if tabnum == - 1 : err ( "No tabnum found for terminal with uuid: %s" % ( uuid . urn ) ) return nth_page = self . get_nth_page ( tabnum ) self . last_active_term [ nth_page ] = uuid