/third_party/python/Lib/tkinter/ |
H A D | font.py | 113 return self.cget(key) 141 def cget(self, option): member in Font 216 print(f.cget("family")) 217 print(f.cget("weight"))
|
H A D | __init__.py | 1706 def cget(self, key): member in Misc 1708 return self.tk.call(self._w, 'cget', '-' + key) 1710 __getitem__ = cget 3785 return self.tk.call(self._w, "image", "cget", index, option) 3920 return self.tk.call(self._w, 'tag', 'cget', tagName, option) 3978 return self.tk.call(self._w, 'window', 'cget', index, option) 4135 def cget(self, option): member in PhotoImage 4137 return self.tk.call(self.name, 'cget', '-' + option) 4141 return self.tk.call(self.name, 'cget', '-' + key)
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_font.py | 26 self.assertEqual(self.font.cget(key), options[key]) 30 self.assertIsInstance(self.font.cget(key), str) 35 self.assertIsInstance(self.font.cget(key), sizetype) 44 self.assertEqual(f.cget('family'), family)
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_textview.py | 113 self.assertEqual(frame.text.cget('wrap'), NONE) 120 self.assertEqual(frame.text.cget('wrap'), wrap) 187 self.assertEqual(text_widget.cget('wrap'), 'none')
|
H A D | htest.py | 381 text.configure(bg=root.cget('bg'), relief='flat', height=4, width=70)
|
H A D | test_squeezer.py | 331 self.assertTrue('50 lines' in expandingbutton.cget('text'))
|
H A D | test_sidebar.py | 673 bg = canvas.cget('background')
|
/third_party/python/Lib/idlelib/ |
H A D | codecontext.py | 115 padx += widget.tk.getint(widget.cget('padx')) 116 border += widget.tk.getint(widget.cget('border'))
|
H A D | sidebar.py | 48 widget.cget('padx'), 49 widget.cget('border'), 53 widget.cget('pady'), 54 widget.cget('border'),
|
H A D | autocomplete_w.py | 149 self.listbox.configure(selectbackground=self.listbox.cget("bg"), 150 selectforeground=self.listbox.cget("fg")) 199 self.origselforeground = listbox.cget("selectforeground") 200 self.origselbackground = listbox.cget("selectbackground")
|
H A D | squeezer.py | 237 int(text.cget('border')) + 238 int(text.cget('padx'))
|
H A D | config_key.py | 185 if self.button_level.cget('text').startswith('Advanced'):
|
H A D | editor.py | 369 inner_padding = sum(map(text.tk.getint, [text.cget('border'), 370 text.cget('padx')])) 377 Font(text, font=text.cget('font')).measure('0')
|
H A D | debugger.py | 188 self.errorbg = self.error.cget("background")
|
/third_party/pulseaudio/src/utils/ |
H A D | pa-info | 36 [[ $line != "" ]] && amixer -c$card cget "$line";
|
/third_party/python/Lib/ |
H A D | turtle.py | 405 def cget(self, *args, **kwargs): member in ScrolledCanvas 408 return self._canvas.cget(*args, **kwargs) 487 w = int(self.cv.cget("width")) 488 h = int(self.cv.cget("height")) 585 return self.cv.cget("bg")
|
/third_party/python/Lib/tkinter/test/ |
H A D | widget_tests.py | 52 self.assertEqual2(widget.cget(name), expected, eq=eq)
|