Home
last modified time | relevance | path

Searched refs:optiondb (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Tools/pynche/
DTextViewer.py28 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))
[all …]
DDetailsViewer.py68 optiondb = switchboard.optiondb()
93 self.__rvar.set(optiondb.get('RSLIDER', 4))
100 self.__gvar.set(optiondb.get('GSLIDER', 2))
107 self.__bvar.set(optiondb.get('BSLIDER', 1))
121 self.__boundvar.set(optiondb.get('ATBOUND', STOP))
269 def save_options(self, optiondb): argument
270 optiondb['RSLIDER'] = self.__rvar.get()
271 optiondb['GSLIDER'] = self.__gvar.get()
272 optiondb['BSLIDER'] = self.__bvar.get()
273 optiondb['ATBOUND'] = self.__boundvar.get()
DMain.py130 dbfile = s.optiondb().get('DBFILE')
162 optiondb = s.optiondb()
163 red = optiondb.get('RED')
164 green = optiondb.get('GREEN')
165 blue = optiondb.get('BLUE')
DTypeinViewer.py23 optiondb = switchboard.optiondb()
25 self.__hexp.set(optiondb.get('HEXTYPE', 0))
27 self.__uwtyping.set(optiondb.get('UPWHILETYPE', 0))
159 def save_options(self, optiondb): argument
160 optiondb['HEXTYPE'] = self.__hexp.get()
161 optiondb['UPWHILETYPE'] = self.__uwtyping.get()
DListViewer.py26 optiondb = switchboard.optiondb()
54 self.__uoc.set(optiondb.get('UPONCLICK', 1))
170 def save_options(self, optiondb): argument
171 optiondb['UPONCLICK'] = self.__uoc.get()
DStripViewer.py319 optiondb = switchboard.optiondb()
325 uwd.set(optiondb.get('UPWHILEDRAG', 0))
327 hexp.set(optiondb.get('HEXSTRIP', 0))
431 def save_options(self, optiondb): argument
432 optiondb['UPWHILEDRAG'] = self.__uwdvar.get()
433 optiondb['HEXSTRIP'] = self.__hexpvar.get()
DSwitchboard.py103 def optiondb(self): member in Switchboard
/external/python/cpython3/Tools/pynche/
DTextViewer.py28 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))
[all …]
DDetailsViewer.py68 optiondb = switchboard.optiondb()
93 self.__rvar.set(optiondb.get('RSLIDER', 4))
100 self.__gvar.set(optiondb.get('GSLIDER', 2))
107 self.__bvar.set(optiondb.get('BSLIDER', 1))
121 self.__boundvar.set(optiondb.get('ATBOUND', STOP))
269 def save_options(self, optiondb): argument
270 optiondb['RSLIDER'] = self.__rvar.get()
271 optiondb['GSLIDER'] = self.__gvar.get()
272 optiondb['BSLIDER'] = self.__bvar.get()
273 optiondb['ATBOUND'] = self.__boundvar.get()
DMain.py130 dbfile = s.optiondb().get('DBFILE')
162 optiondb = s.optiondb()
163 red = optiondb.get('RED')
164 green = optiondb.get('GREEN')
165 blue = optiondb.get('BLUE')
DTypeinViewer.py23 optiondb = switchboard.optiondb()
25 self.__hexp.set(optiondb.get('HEXTYPE', 0))
27 self.__uwtyping.set(optiondb.get('UPWHILETYPE', 0))
159 def save_options(self, optiondb): argument
160 optiondb['HEXTYPE'] = self.__hexp.get()
161 optiondb['UPWHILETYPE'] = self.__uwtyping.get()
DListViewer.py26 optiondb = switchboard.optiondb()
54 self.__uoc.set(optiondb.get('UPONCLICK', 1))
170 def save_options(self, optiondb): argument
171 optiondb['UPONCLICK'] = self.__uoc.get()
DStripViewer.py319 optiondb = switchboard.optiondb()
325 uwd.set(optiondb.get('UPWHILEDRAG', 0))
327 hexp.set(optiondb.get('HEXSTRIP', 0))
395 def save_options(self, optiondb): argument
396 optiondb['UPWHILEDRAG'] = self.__uwdvar.get()
397 optiondb['HEXSTRIP'] = self.__hexpvar.get()
DSwitchboard.py102 def optiondb(self): member in Switchboard