Searched refs:statespec (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_functions.py | 341 statespec = MockStateSpec(*states_even) 342 test_it(statespec, 'val', 'val', states_even) 343 test_it(statespec, MockTclObj('val'), 'val', states_even) 346 statespec = MockStateSpec(*states_odd) 347 test_it(statespec, 'val', 'val', states_odd)
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_functions.py | 342 statespec = MockStateSpec(*states_even) 343 test_it(statespec, 'val', 'val', states_even) 344 test_it(statespec, MockTclObj('val'), 'val', states_even) 347 statespec = MockStateSpec(*states_odd) 348 test_it(statespec, 'val', 'val', states_odd)
|
/external/python/cpython2/Lib/lib-tk/ |
D | ttk.py | 566 def instate(self, statespec, callback=None, *args, **kw): argument 574 self.tk.call(self._w, "instate", ' '.join(statespec))) 581 def state(self, statespec=None): argument 588 if statespec is not None: 589 statespec = ' '.join(statespec) 591 return self.tk.splitlist(str(self.tk.call(self._w, "state", statespec)))
|
/external/python/cpython3/Lib/tkinter/ |
D | ttk.py | 570 def instate(self, statespec, callback=None, *args, **kw): argument 578 self.tk.call(self._w, "instate", ' '.join(statespec))) 585 def state(self, statespec=None): argument 592 if statespec is not None: 593 statespec = ' '.join(statespec) 595 return self.tk.splitlist(str(self.tk.call(self._w, "state", statespec)))
|
/external/python/cpython2/Doc/library/ |
D | ttk.rst | 180 | | rest of the list is a sequence of statespec/value pairs as| 268 .. method:: instate(statespec, callback=None, *args, **kw) 271 if the widget state matches *statespec* and ``False`` otherwise. If callback 273 *statespec*. 276 .. method:: state([statespec=None]) 278 Modify or read widget state. If *statespec* is specified, sets the 279 widget state accordingly and returns a new *statespec* indicating 280 which flags were changed. If *statespec* is not specified, returns 283 *statespec* will usually be a list or a tuple. 1196 something else of your preference. A statespec is a compound of one [all …]
|
/external/python/cpython3/Doc/library/ |
D | tkinter.ttk.rst | 186 | | rest of the list if a sequence of statespec/value pairs as| 278 .. method:: instate(statespec, callback=None, *args, **kw) 281 if the widget state matches *statespec* and ``False`` otherwise. If callback 283 *statespec*. 286 .. method:: state(statespec=None) 288 Modify or inquire widget state. If *statespec* is specified, sets the 289 widget state according to it and return a new *statespec* indicating 290 which flags were changed. If *statespec* is not specified, returns 293 *statespec* will usually be a list or a tuple. 1317 some other preference. A statespec is a compound of one [all …]
|