TODO: it really wants to be named useTitle but we're not quite there yet.
546443
function PageTitle(props) {
  const { activePage } = React.useContext(PageContext);

  if (!activePage) {
    throw new Error('Missing activePage.');
  }

  const title = pageToTitleI18n(activePage, props.t);

  return props.children(title);
}
1157188
def page_title(separator = Renalware.config.page_title_spearator)
      [
        content_for(:page_title),
        Renalware.config.site_name
      ].compact.join(separator)
    end
414862
def set_title(self, title):
        """"""
        self.head.title.attr(content=title)
        return self
1160706
def set_title(self, title):
        
        assert isinstance(title, six.text_type)
        self._winapi(windll.kernel32.SetConsoleTitleW, title)
703133
public void setSubtitleTitle(final String subtitleTitle) {

        m_subtitle.setTitle(subtitleTitle);
        m_subtitle.setTitleGenerator(new I_TitleGenerator() {

            public String getTitle(String originalText) {

                return subtitleTitle;
            }
        });
    }
238165
def get_main_title(self, path_name, request_name):
        '''
        
        '''
        main_title = '.. http:{}:: {}'.format(request_name, path_name)
        self.write(main_title)
        self.write('')
627182
private void buildOperationTitle(MarkupDocBuilder markupDocBuilder, String title, String anchor) {
        if (config.getPathsGroupedBy() == GroupBy.AS_IS) {
            markupDocBuilder.sectionTitleWithAnchorLevel2(title, anchor);
        } else {
            markupDocBuilder.sectionTitleWithAnchorLevel3(title, anchor);
        }
    }
606497
def title(self, txt=None):
        '''
        if txt:
            System.Console.Title = txt
        else:
            return System.Console.Title
194098
public void setTitle(String title)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_GENERAL, TITLE, title);
    }
735496
def set_title(self, title, **kwargs):
        """"""
        ax = self.get_axes()
        ax.set_title(title, **kwargs)
1246076
def title(self):
        
        if self._title is None:
            self._title = self.get_title()
        return self._title
304999
function(title, prefix) {
	      var base = mInstance.url || mInstance._url(prefix);
	      return base + '/wiki/' + title;
	    }
730765
public void updateTitle() {
        Project project = getProject();
        String name = project.getProjectName();
        if ((name == null || "".equals(name.trim())) && saveFile != null) {
            name = saveFile.getAbsolutePath();
        }
        if (name == null) {
            name = "";//Project.UNNAMED_PROJECT;
        }
        String oldTitle = this.getTitle();
        String newTitle = TITLE_START_TXT + ("".equals(name.trim()) ? "" : " - " + name);
        if (oldTitle.equals(newTitle)) {
            return;
        }
        this.setTitle(newTitle);
    }
807332
def title(self):
        """"""
        return (u'[{}] {}>>'.format(
            os.path.split(os.path.abspath('.'))[-1],
            u' '.join(self.command))).encode('utf8')
586139
private void addInlineDefinitionTitle(MarkupDocBuilder markupDocBuilder, String title, String anchor) {
        markupDocBuilder.anchor(anchor);
        markupDocBuilder.newLine();
        markupDocBuilder.boldTextLine(title);
    }
1293071
def createSubtitle(self, fps, section):
        """"""
        matched = self._pattern.search(section)
        if matched is not None:
            matchedDict = matched.groupdict()
            return Subtitle(
                self.frametime(fps, matchedDict.get("time_from")),
                self.frametime(fps, matchedDict.get("time_to")),
                self.formatSub(matchedDict.get("text"))
            )
        return None
765495
private void updateTitle() {
		String title;

		if (this.getCurrentComponent() == null) {
			title = "Example Picker";
		} else {
			title = this.getCurrentComponent().getClass().getName();
		}

		WApplication app = WebUtilities.getAncestorOfClass(WApplication.class, this);

		if (app != null) {
			app.setTitle(title);
		}
	}