/external/python/cpython3/Lib/test/ |
D | test_tcl.py | 50 self.wantobjects = self.interp.tk.wantobjects() 396 if tcl.wantobjects(): 415 if self.wantobjects: 428 self.assertEqual(passValue(True), True if self.wantobjects else '1') 429 self.assertEqual(passValue(False), False if self.wantobjects else '0') 436 b'str\x00ing' if self.wantobjects else 'str\x00ing') 438 b'str\xc0\x80ing' if self.wantobjects else 'str\xc0\x80ing') 440 b'str\xbding' if self.wantobjects else 'str\xbding') 442 self.assertEqual(passValue(i), i if self.wantobjects else str(i)) 448 if self.wantobjects: [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_tcl.py | 50 self.wantobjects = self.interp.tk.wantobjects() 417 if tcl.wantobjects(): 436 if self.wantobjects: 451 self.assertEqual(passValue(True), True if self.wantobjects else '1') 452 self.assertEqual(passValue(False), False if self.wantobjects else '0') 465 self.assertEqual(passValue(i), i if self.wantobjects else str(i)) 471 if self.wantobjects: 475 if self.wantobjects: 485 (1, '2', (3.4,)) if self.wantobjects else '1 2 3.4') 563 (1, '2', (3.4,)) if self.wantobjects else [all …]
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 514 ('1', '', '2') if self.wantobjects else 520 ('a b', 'a\tb', 'a\nb') if self.wantobjects else 526 (r'a\tb', '"a"', '} {') if self.wantobjects else 538 ('1', '2', '') if self.wantobjects else '1 2 {}') 646 0 if self.wantobjects else '0') 649 0 if self.wantobjects else '0') 706 if self.wantobjects: 806 if self.wantobjects: 824 if self.wantobjects: 1269 ('1', '', '2') if self.wantobjects else [all …]
|
D | test_extensions.py | 28 if self.wantobjects: 134 self.assertEqual(lscale.label['text'], 0 if self.wantobjects else '0') 158 newval if self.wantobjects else str(newval)) 165 if self.wantobjects:
|
D | test_style.py | 28 [('active', 'background', 'blue')] if self.wantobjects else
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_widgets.py | 510 ('1', '', '2') if self.wantobjects else 516 ('a b', 'a\tb', 'a\nb') if self.wantobjects else 522 (r'a\tb', '"a"', '} {') if self.wantobjects else 534 ('1', '2', '') if self.wantobjects else '1 2 {}') 642 0 if self.wantobjects else '0') 645 0 if self.wantobjects else '0') 702 if self.wantobjects: 802 if self.wantobjects: 820 if self.wantobjects: 1185 if not self.wantobjects: [all …]
|
D | test_extensions.py | 28 if self.wantobjects: 73 if self.wantobjects: 138 self.assertEqual(lscale.label['text'], 0 if self.wantobjects else '0') 161 newval if self.wantobjects else str(newval)) 167 if self.wantobjects:
|
D | support.py | 14 cls.wantobjects = cls.root.wantobjects()
|
D | test_style.py | 28 [('active', 'background', 'blue')] if self.wantobjects else
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_variables.py | 199 self.root.globalsetvar("name", 42 if self.root.wantobjects() else 1) 203 self.root.globalsetvar("name", 42L if self.root.wantobjects() else 1L) 215 true = 1 if self.root.wantobjects() else "1" 216 false = 0 if self.root.wantobjects() else "0" 238 false = 0 if self.root.wantobjects() else "0"
|
D | test_images.py | 117 if tkinter.TkVersion >= 8.6 and self.wantobjects: 146 self.assertEqual(image['data'], data if self.wantobjects 185 self.assertEqual(image['data'], data if self.wantobjects 194 self.assertEqual(image['format'], ('gif',) if self.wantobjects
|
D | test_font.py | 32 sizetype = int if self.wantobjects else str 57 sizetype = int if self.wantobjects else str
|
D | test_widgets.py | 41 self.assertEqual(widget['container'], 0 if self.wantobjects else '0') 45 self.assertEqual(widget2['container'], 1 if self.wantobjects else '1') 1044 if not self.wantobjects or stringify: 1046 if self.wantobjects and stringify:
|
/external/python/cpython3/Modules/clinic/ |
D | _tkinter.c.h | 551 int interactive, int wantobjects, int wantTk, int sync, 562 int wantobjects = 0; in _tkinter_create() local 568 &screenName, &baseName, &className, &interactive, &wantobjects, &wantTk, &sync, &use)) { in _tkinter_create() 571 …nter_create_impl(module, screenName, baseName, className, interactive, wantobjects, wantTk, sync, … in _tkinter_create()
|
/external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
D | test_variables.py | 268 self.root.globalsetvar("name", 42 if self.root.wantobjects() else 1) 276 true = 1 if self.root.wantobjects() else "1" 277 false = 0 if self.root.wantobjects() else "0" 291 false = 0 if self.root.wantobjects() else "0"
|
D | test_images.py | 116 if tkinter.TkVersion >= 8.6 and self.wantobjects: 145 self.assertEqual(image['data'], data if self.wantobjects 184 self.assertEqual(image['data'], data if self.wantobjects 193 self.assertEqual(image['format'], ('gif',) if self.wantobjects
|
D | test_font.py | 32 sizetype = int if self.wantobjects else str 57 sizetype = int if self.wantobjects else str
|
D | test_widgets.py | 44 self.assertEqual(widget['container'], 0 if self.wantobjects else '0') 48 self.assertEqual(widget2['container'], 1 if self.wantobjects else '1') 1056 if not self.wantobjects or stringify: 1058 if self.wantobjects and stringify:
|
/external/python/cpython3/Lib/tkinter/test/ |
D | support.py | 14 cls.wantobjects = cls.root.wantobjects()
|
D | widget_tests.py | 39 if not self._stringify and self.wantobjects and tcl_version >= (8, 6): 57 if self._stringify or not self.wantobjects:
|
/external/python/cpython3/Modules/ |
D | _tkinter.c | 274 int wantobjects; member 611 int interactive, int wantobjects, int wantTk, int sync, in Tkapp_New() argument 623 v->wantobjects = wantobjects; in Tkapp_New() 1378 if(self->wantobjects) { in Tkapp_CallResult() 1866 if (((TkappObject*)self)->wantobjects) { in GetVar() 2984 int wantobjects = -1; in Tkapp_WantObjects() local 2985 if (!PyArg_ParseTuple(args, "|i:wantobjects", &wantobjects)) in Tkapp_WantObjects() 2987 if (wantobjects == -1) in Tkapp_WantObjects() 2988 return PyBool_FromLong(((TkappObject*)self)->wantobjects); in Tkapp_WantObjects() 2989 ((TkappObject*)self)->wantobjects = wantobjects; in Tkapp_WantObjects() [all …]
|
/external/python/cpython2/Modules/ |
D | _tkinter.c | 260 int wantobjects; member 714 int interactive, int wantobjects, int wantTk, int sync, char *use) in Tkapp_New() argument 724 v->wantobjects = wantobjects; in Tkapp_New() 1519 if(self->wantobjects) { in Tkapp_CallResult() 2029 if (((TkappObject*)self)->wantobjects) { in GetVar() 3189 int wantobjects = -1; in Tkapp_WantObjects() local 3190 if (!PyArg_ParseTuple(args, "|i:wantobjects", &wantobjects)) in Tkapp_WantObjects() 3192 if (wantobjects == -1) in Tkapp_WantObjects() 3193 return PyBool_FromLong(((TkappObject*)self)->wantobjects); in Tkapp_WantObjects() 3194 ((TkappObject*)self)->wantobjects = wantobjects; in Tkapp_WantObjects() [all …]
|
/external/python/cpython2/Lib/lib-tk/ |
D | tkFileDialog.py | 89 if not widget.tk.wantobjects() and "multiple" in self.options:
|
/external/python/cpython2/Lib/lib-tk/test/ |
D | widget_tests.py | 43 if not self._stringify and self.wantobjects and tcl_version >= (8, 6): 61 if self._stringify or not self.wantobjects:
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.7rc1.rst | 339 widgets to work in wantobjects=True mode. 571 Fixed multiple errors in tkinter with wantobjects is False. 618 Tkinter variables now work when wantobjects is false. 1207 test_tcl no longer fails when wantobjects is false.
|