Return the current title to be displayed in the terminal.
        When this in `None`, the terminal title remains the original.
18600
def terminal_title(self):
        
        result = self.application.get_title()

        # Make sure that this function returns a unicode object,
        # and not a byte string.
        assert result is None or isinstance(result, six.text_type)
        return result
646353
def title(self):
        
        with switch_window(self._browser, self.name):
            return self._browser.title
1198697
def extract_title
      title = extract(:title).presence
      return unless title

      title = Array(title)
      return title.map(&:downcase) if extract(:lowercase) == true

      title
    end
542893
def update_plugin_title(self):
        """"""
        if self.dockwidget is not None:
            win = self.dockwidget
        elif self.undocked_window is not None:
            win = self.undocked_window
        else:
            return
        win.setWindowTitle(self.get_plugin_title())
1166308
def _get_title(self, prop, main_infos, info_dict):
        
        result = main_infos.get('label')
        if result is None:
            result = info_dict.get('colanderalchemy', {}).get('title')
        if result is None:
            result = prop.key
        return result
769661
def _get_title(self):
        """"""
        #TODO: unicode support
        strbuffer = self.ctypes.create_string_buffer(1024)
        size = self.ctypes.c_short(1024)
        #unicode versions are (Get|Set)ConsolTitleW
        self.ctypes.windll.kernel32.GetConsoleTitleA(strbuffer, size)
        return strbuffer.value
1279831
def title(self) -> typing.Union[None, str]:
        """"""
        return self._project.title if self._project else None
774067
def get_title(brain_or_object):
    
    if is_brain(brain_or_object) and base_hasattr(brain_or_object, "Title"):
        return brain_or_object.Title
    return get_object(brain_or_object).Title()
1240430
def get_title(self, index):
        
        # JSON dictionaries have string keys, so we convert index to a string
        index = unicode_type(int(index))
        if index in self._titles:
            return self._titles[index]
        else:
            return None
284076
def Title(self):
        
        titlefield = self.Schema().getField('title')
        if titlefield.widget.visible:
            return safe_unicode(self.title).encode('utf-8')
        else:
            return safe_unicode(self.id).encode('utf-8')
348314
def title(self) -> str:
        """"""
        title_element = _find_tag(self.head, 'title')
        if title_element:
            return title_element.textContent
        return ''
204451
def get_content_title(self, obj):
        """"""
        return Content.objects.get(id=obj.content.id).title
778738
def set_title(self, msg):
        
        self.s.move(0, 0)
        self.overwrite_line(msg, curses.A_REVERSE)
1097056
def _terminal_notifier(title, message):
    

    try:
        paths = common.extract_app_paths(['terminal-notifier'])
    except ValueError:
        pass

    common.shell_process([paths[0], '-title', title, '-message', message])
759768
def recompute_tabs_titles(self):
        
        use_vte_titles = self.settings.general.get_boolean("use-vte-titles")
        if not use_vte_titles:
            return

        # TODO NOTEBOOK this code only works if there is only one terminal in a
        # page, this need to be rewritten
        for terminal in self.get_notebook().iter_terminals():
            page_num = self.get_notebook().page_num(terminal.get_parent())
            self.get_notebook().rename_page(page_num, self.compute_tab_title(terminal), False)
586058
def title(self, txt):
        
        num = len(txt)
        ticks = "=" * num
        print(ticks)
        print(txt)
        print(ticks)
988499
def title(self):
        
        if not self._title:
            return projex.text.pretty(self.name())
        return self._title