u'''Set/get title.
422922
def title(self, txt=None):
        '''
        if txt:
            self.SetConsoleTitleW(txt)
        else:
            buffer = create_unicode_buffer(200)
            n = self.GetConsoleTitleW(buffer, 200)
            if n > 0:
                return buffer.value[:n]
468104
def title(self, title):
        """"""
        title = " What's it like out side {0}? ".format(title)
        click.secho("{:=^62}".format(title), fg=self.colors.WHITE)
        click.echo()
129502
protected function setterTitle(string $title): string
	{
		$this->translator->set($this->name, $title);
		return $title;
	}
801326
public void setTitle(java.lang.String title) {
        getStateHelper().put(PropertyKeys.title, title);
        handleAttribute("title", 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
724087
def title(msg, **options):
    """"""
    return echo(Style.BRIGHT + Fore.CYAN + "__{}__________________________".format(msg.upper().strip()) + Style.RESET_ALL + Fore.RESET, **options)
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
726531
protected String getTitle(String option, String defaultValue) {

        if ((option != null) && m_titles.containsKey(option)) {
            return m_titles.get(option);
        }
        return defaultValue;
    }
284238
def title(self):
        
        name = c.namemap_lookup(self.id)
        if name is None:
            name = self._title + " " + client.get_semester_title(self)
            c.namemap_set(self.id, name)
        return secure_filename(name)
440876
def _get_title(self,directory,filename):
        """"""
        # =========== LOAD TITLE ========
        fullfile=os.path.join(directory,filename+'.title')
        try:
            logger.debug('trying to open [%s]'%(fullfile))
            _title=(open(fullfile).readline().strip())
            logger.debug("_updatemeta: %s - title is '%s'",filename,_title)
        except:
            _title=''

        return _title
820577
def param_title(param_values, slug):
    
    for val in param_values:
        if val.param.slug == slug:
            return val.param.title
    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')
179481
def set_title(self, title, subtitle=''):
        """"""
        self.title = title
        self.subtitle = subtitle
412627
def _get_full_title(self):
        """"""
        if len(self.arguments) > 0:  # a title was passed
            if 'title_from_content' in self.options:
                self.log.warning(
                    'Needs: need "{}" has :title_from_content: set, '
                    'but a title was provided. (see file {})'
                        .format(self.arguments[0], self.docname)
                )
            return self.arguments[0]
        elif self.title_from_content:
            first_sentence = ' '.join(self.content).split('.', 1)[0]
            if not first_sentence:
                raise NeedsInvalidException(':title_from_content: set, but '
                                            'no content provided. '
                                            '(Line {} of file {}'
                                            .format(self.lineno, self.docname))
            return first_sentence
        else:
            return ''
1180082
def get_title(self, group=None):
        """"""
        title = super(CommentsPlugin, self).get_title()
        if group is not None:
            count = GroupComments.objects.filter(group=group).count()
        else:
            count = None
        if count:
            title = u'%s (%d)' % (title, count)
        return title
476406
def title(cls, message=None):
        ''''''
        if message == None:
            return getproctitle()
        else:
            setproctitle('qless-py-worker %s' % message)
            logger.info(message)
1135074
def get_title(self):
        
        w = self.arrangement.get_active_window()

        if w and w.active_process:
            title = w.active_process.screen.title
        else:
            title = ''

        if title:
            return '%s - Pymux' % (title, )
        else:
            return 'Pymux'