Home
last modified time | relevance | path

Searched refs:cget (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Lib/lib-tk/
DtkFont.py104 return self.cget(key)
131 def cget(self, option): member in Font
195 print f.cget("family")
196 print f.cget("weight")
DCanvas.py32 cget = __getitem__ variable in CanvasItem
Dturtle.py427 def cget(self, *args, **kwargs): member in ScrolledCanvas
430 return self._canvas.cget(*args, **kwargs)
511 w = int(self.cv.cget("width"))
512 h = int(self.cv.cget("height"))
609 return self.cv.cget("bg")
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_font.py26 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)
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_font.py26 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)
/external/python/cpython3/Lib/tkinter/
Dfont.py106 return self.cget(key)
134 def cget(self, option): member in Font
209 print(f.cget("family"))
210 print(f.cget("weight"))
/external/python/cpython3/Lib/idlelib/
Dsidebar.py32 widget.cget('padx'),
33 widget.cget('border'),
37 widget.cget('pady'),
38 widget.cget('border'),
Dautocomplete_w.py146 self.listbox.configure(selectbackground=self.listbox.cget("bg"),
147 selectforeground=self.listbox.cget("fg"))
201 self.origselforeground = listbox.cget("selectforeground")
202 self.origselbackground = listbox.cget("selectbackground")
Dcodecontext.py113 padx += widget.tk.getint(widget.cget('padx'))
114 border += widget.tk.getint(widget.cget('border'))
Dsqueezer.py235 int(text.cget('border')) +
236 int(text.cget('padx'))
Dconfig_key.py218 if self.button_level.cget('text').startswith('Advanced'):
Deditor.py357 inner_padding = sum(map(text.tk.getint, [text.cget('border'),
358 text.cget('padx')]))
365 Font(text, font=text.cget('font')).measure('0')
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_textview.py113 self.assertEqual(frame.text.cget('wrap'), NONE)
120 self.assertEqual(frame.text.cget('wrap'), wrap)
187 self.assertEqual(text_widget.cget('wrap'), 'none')
Dhtest.py381 text.configure(bg=root.cget('bg'), relief='flat', height=4, width=70)
Dtest_squeezer.py331 self.assertTrue('50 lines' in expandingbutton.cget('text'))
/external/python/cpython2/Lib/idlelib/
DAutoCompleteWindow.py137 self.listbox.configure(selectbackground=self.listbox.cget("bg"),
138 selectforeground=self.listbox.cget("fg"))
190 self.origselforeground = listbox.cget("selectforeground")
191 self.origselbackground = listbox.cget("selectbackground")
DCodeContext.py67 padx += int(str( widget.cget('padx') ))
71 border += int(str( widget.cget('border') ))
Dtabbedpages.py63 background=self.cget('background'))
229 background = page_set.pages_frame.cget('background')
DkeybindingDialog.py147 if self.buttonLevel.cget('text')[:8]=='Advanced':
/external/python/cpython2/Lib/idlelib/idle_test/
Dhtest.py346 text.configure(bg=root.cget('bg'), relief='flat', height=4, width=70)
/external/python/cpython2/Demo/tix/samples/
DDirTree.py92 self.dlist_dir = dir.cget('value')
DDirList.py98 self.dlist_dir = dir.cget('value')
/external/google-breakpad/src/third_party/libdisasm/swig/
DREADME118 % puts "[dis cget -last_error]"
/external/python/cpython3/Lib/
Dturtle.py403 def cget(self, *args, **kwargs): member in ScrolledCanvas
406 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")
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py69 self.assertEqual2(widget.cget(name), expected, eq=eq)

12