def METHOD_NAME(self, optiondb):
    optiondb['TRACKP'] = self.__trackp.get()
    optiondb['WHICH'] = self.__which.get()
    optiondb['TEXT'] = self.__text.get(0.0, 'end - 1c')
    optiondb['TEXTSEL'] = self.__text.tag_ranges(SEL)[0:2]
    optiondb['TEXTINS'] = self.__text.index(INSERT)
    optiondb['TEXTFG'] = self.__text['foreground']
    optiondb['TEXTBG'] = self.__text['background']
    optiondb['TEXT_SFG'] = self.__text['selectforeground']
    optiondb['TEXT_SBG'] = self.__text['selectbackground']
    optiondb['TEXT_IBG'] = self.__text['insertbackground']