'Set object analyzed by Help'

def set_object_text(self, text, force_refresh=False, ignore_unknown=False):

    if (self.locked and (not force_refresh)):
        return
    self.switch_to_console_source()
    add_to_combo = True
    if (text is None):
        text = to_text_string(self.combo.currentText())
        add_to_combo = False
    found = self.show_help(text, ignore_unknown=ignore_unknown)
    if (ignore_unknown and (not found)):
        return
    if add_to_combo:
        self.combo.add_text(text)
    if found:
        self.save_history()
    if (self.dockwidget is not None):
        self.dockwidget.blockSignals(True)
    self.__eventually_raise_help(text, force=force_refresh)
    if (self.dockwidget is not None):
        self.dockwidget.blockSignals(False)
