Home
last modified time | relevance | path

Searched refs:checkParam (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py72 self.checkParam(widget, 'menu', menu, eq=widget_eq)
73 self.checkParam(widget, 'menu', '')
134 self.checkParam(widget, 'labelwidget', label, expected='.foo')
270 self.checkParam(widget, 'image', image, conv=str)
284 self.checkParam(widget, 'menu', menu, eq=widget_eq)
290 self.checkParam(widget, 'padx', -2, expected=0)
295 self.checkParam(widget, 'pady', -2, expected=0)
335 self.checkParam(widget, 'insertborderwidth', 60, expected=100//2)
340 self.checkParam(widget, 'insertwidth', 0.1, expected=2)
341 self.checkParam(widget, 'insertwidth', -2, expected=2)
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py75 self.checkParam(widget, 'menu', menu, eq=widget_eq)
76 self.checkParam(widget, 'menu', '')
137 self.checkParam(widget, 'labelwidget', label, expected='.foo')
272 self.checkParam(widget, 'image', image, conv=str)
286 self.checkParam(widget, 'menu', menu, eq=widget_eq)
292 self.checkParam(widget, 'padx', -2, expected=0)
297 self.checkParam(widget, 'pady', -2, expected=0)
341 self.checkParam(widget, 'insertborderwidth', 60, expected=100//2)
346 self.checkParam(widget, 'insertwidth', 0.1, expected=2)
347 self.checkParam(widget, 'insertwidth', -2, expected=2)
[all …]
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py48 def checkParam(self, widget, name, value, *, expected=_sentinel, member in AbstractWidgetTest
92 self.checkParam(widget, name, value, **kwargs)
105 self.checkParam(widget, name, value, conv=conv, **kwargs)
113 self.checkParam(widget, name, value, expected=0)
115 self.checkParam(widget, name, value, expected=1)
132 self.checkParam(widget, name, 'none')
167 self.checkParam(widget, name, value, expected=expected,
186 self.checkParam(widget, name, image, conv=str)
192 self.checkParam(widget, name, var, conv=str)
271 self.checkParam(widget, 'bitmap', 'questhead')
[all …]
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py54 def checkParam(self, widget, name, value, expected=_sentinel, member in AbstractWidgetTest
100 self.checkParam(widget, name, value, **kwargs)
117 self.checkParam(widget, name, value, conv=conv, **kwargs)
125 self.checkParam(widget, name, value, expected=0)
127 self.checkParam(widget, name, value, expected=1)
144 self.checkParam(widget, name, 'none')
190 self.checkParam(widget, name, value, expected=expected,
209 self.checkParam(widget, name, image, conv=str)
215 self.checkParam(widget, name, var, conv=str)
295 self.checkParam(widget, 'bitmap', 'questhead')
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_checkbox.cpp72 CFWL_ThemeBackground checkParam(CFWL_ThemePart::Part::kCheckBox, this, in DrawWidget() local
74 checkParam.m_dwStates = dwStates; in DrawWidget()
75 checkParam.m_matrix = matrix; in DrawWidget()
76 checkParam.m_PartRect = m_BoxRect; in DrawWidget()
78 checkParam.m_pRtData = &m_FocusRect; in DrawWidget()
79 pTheme->DrawBackground(checkParam); in DrawWidget()
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py31 self.checkParam(widget, 'padding', 0, expected=('0',))
32 self.checkParam(widget, 'padding', 5, expected=('5',))
33 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6'))
34 self.checkParam(widget, 'padding', (5, 6, 7),
36 self.checkParam(widget, 'padding', (5, 6, 7, 8),
38 self.checkParam(widget, 'padding', ('5p', '6p', '7p', '8p'))
39 self.checkParam(widget, 'padding', (), expected='')
150 self.checkParam(widget, 'labelwidget', label, expected='.foo')
159 self.checkParam(widget, name, image, expected=('image1',))
160 self.checkParam(widget, name, 'image1', expected=('image1',))
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py33 self.checkParam(widget, 'padding', 0, expected=('0',))
34 self.checkParam(widget, 'padding', 5, expected=('5',))
35 self.checkParam(widget, 'padding', (5, 6), expected=('5', '6'))
36 self.checkParam(widget, 'padding', (5, 6, 7),
38 self.checkParam(widget, 'padding', (5, 6, 7, 8),
40 self.checkParam(widget, 'padding', ('5p', '6p', '7p', '8p'))
41 self.checkParam(widget, 'padding', (), expected='')
155 self.checkParam(widget, 'labelwidget', label, expected='.foo')
164 self.checkParam(widget, name, image, expected=('image1',))
165 self.checkParam(widget, name, 'image1', expected=('image1',))
[all …]