/third_party/python/Lib/test/ |
D | test_tcl.py | 60 self.wantobjects = self.interp.tk.wantobjects() 433 if tcl.wantobjects(): 452 if self.wantobjects: 465 self.assertEqual(passValue(True), True if self.wantobjects else '1') 466 self.assertEqual(passValue(False), False if self.wantobjects else '0') 481 b'str\x00ing' if self.wantobjects else 'str\x00ing') 483 b'str\xc0\x80ing' if self.wantobjects else 'str\xc0\x80ing') 485 b'str\xbding' if self.wantobjects else 'str\xbding') 487 self.assertEqual(passValue(i), i if self.wantobjects else str(i)) 493 if self.wantobjects: [all …]
|
D | test_ttk_textonly.py | 17 def wantobjects(self): member in MockTkApp
|
/third_party/python/Lib/tkinter/test/ |
D | support.py | 14 cls.wantobjects = cls.root.wantobjects() 46 self.wantobjects = tkinter.wantobjects
|
D | widget_tests.py | 37 if not self._stringify and self.wantobjects and tcl_version >= (8, 6): 55 if self._stringify or not self.wantobjects:
|
/third_party/python/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 505 ('1', '', '2') if self.wantobjects else 511 ('a b', 'a\tb', 'a\nb') if self.wantobjects else 517 (r'a\tb', '"a"', '} {') if self.wantobjects else 529 ('1', '2', '') if self.wantobjects else '1 2 {}') 634 0 if self.wantobjects else '0') 637 0 if self.wantobjects else '0') 692 if self.wantobjects: 791 if self.wantobjects: 808 if self.wantobjects: 1256 ('1', '', '2') if self.wantobjects else [all …]
|
D | test_extensions.py | 29 if self.wantobjects: 121 self.assertEqual(lscale.label['text'], 0 if self.wantobjects else '0') 144 newval if self.wantobjects else str(newval)) 151 if self.wantobjects:
|
/third_party/python/Modules/clinic/ |
D | _tkinter.c.h | 677 int interactive, int wantobjects, int wantTk, int sync, 688 int wantobjects = 0; in _tkinter_create() local 759 wantobjects = _PyLong_AsInt(args[4]); in _tkinter_create() 760 if (wantobjects == -1 && PyErr_Occurred()) { in _tkinter_create() 799 …nter_create_impl(module, screenName, baseName, className, interactive, wantobjects, wantTk, sync, … in _tkinter_create()
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
D | test_variables.py | 292 self.root.globalsetvar("name", 42 if self.root.wantobjects() else 1) 300 true = 1 if self.root.wantobjects() else "1" 301 false = 0 if self.root.wantobjects() else "0" 315 false = 0 if self.root.wantobjects() else "0"
|
D | test_images.py | 160 if tkinter.TkVersion >= 8.6 and self.wantobjects: 190 self.assertEqual(image['data'], data if self.wantobjects 230 self.assertEqual(image['data'], data if self.wantobjects 239 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') 1132 if not self.wantobjects or stringify: 1134 if self.wantobjects and stringify:
|
/third_party/python/Modules/ |
D | _tkinter.c | 295 int wantobjects; member 707 int interactive, int wantobjects, int wantTk, int sync, in Tkapp_New() argument 718 v->wantobjects = wantobjects; in Tkapp_New() 1470 if (self->wantobjects) { in Tkapp_ObjectResult() 1955 if (self->wantobjects) { in GetVar() 3069 int wantobjects = -1; in Tkapp_WantObjects() local 3070 if (!PyArg_ParseTuple(args, "|i:wantobjects", &wantobjects)) in Tkapp_WantObjects() 3072 if (wantobjects == -1) in Tkapp_WantObjects() 3073 return PyBool_FromLong(((TkappObject*)self)->wantobjects); in Tkapp_WantObjects() 3074 ((TkappObject*)self)->wantobjects = wantobjects; in Tkapp_WantObjects() [all …]
|
/third_party/python/Lib/tkinter/ |
D | filedialog.py | 346 if not widget.tk.wantobjects() and "multiple" in self.options:
|
D | __init__.py | 42 wantobjects = 1 variable 2299 …self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, …
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a3.rst | 534 platform and does not depend on the value of ``wantobjects``.
|
/third_party/python/Doc/whatsnew/ |
D | 2.3.rst | 1576 the :meth:`wantobjects` method of :class:`tkapp` objects. 1584 the :attr:`wantobjects` variable in the :mod:`Tkinter` module to false before 1588 Tkinter.wantobjects = 0
|
/third_party/python/Misc/ |
D | HISTORY | 2709 - Issue #20072: Fixed multiple errors in tkinter with wantobjects is False. 2905 - Issue #20067: Tkinter variables now work when wantobjects is false. 3139 - Issue #19320: test_tcl no longer fails when wantobjects is false. 22683 are wrapped. This can be configured through the wantobjects method, 22684 or Tkinter.wantobjects.
|