Lines Matching refs:optiondb
28 optiondb = switchboard.optiondb()
41 background=optiondb.get('TEXTBG', 'black'),
42 foreground=optiondb.get('TEXTFG', 'white'),
44 sfg = optiondb.get('TEXT_SFG')
47 sbg = optiondb.get('TEXT_SBG')
50 ibg = optiondb.get('TEXT_IBG')
54 self.__text.insert(0.0, optiondb.get('TEXT', '''\
63 insert = optiondb.get('TEXTINS')
67 start, end = optiondb.get('TEXTSEL', (6.0, END))
76 self.__trackp.set(optiondb.get('TRACKP', 0))
78 self.__which.set(optiondb.get('WHICH', 0))
178 def save_options(self, optiondb): argument
179 optiondb['TRACKP'] = self.__trackp.get()
180 optiondb['WHICH'] = self.__which.get()
181 optiondb['TEXT'] = self.__text.get(0.0, 'end - 1c')
182 optiondb['TEXTSEL'] = self.__text.tag_ranges(SEL)[0:2]
183 optiondb['TEXTINS'] = self.__text.index(INSERT)
184 optiondb['TEXTFG'] = self.__text['foreground']
185 optiondb['TEXTBG'] = self.__text['background']
186 optiondb['TEXT_SFG'] = self.__text['selectforeground']
187 optiondb['TEXT_SBG'] = self.__text['selectbackground']
188 optiondb['TEXT_IBG'] = self.__text['insertbackground']