MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / getboolean

Method getboolean

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:774–779  ·  view source on GitHub ↗

Return a boolean value for Tcl boolean values true and false given as parameter.

(self, s)

Source from the content-addressed store, hash-verified

772 raise ValueError(str(exc))
773
774 def getboolean(self, s):
775 """Return a boolean value for Tcl boolean values true and false given as parameter."""
776 try:
777 return self.tk.getboolean(s)
778 except TclError:
779 raise ValueError("invalid literal for getboolean()")
780
781 def focus_set(self):
782 """Direct input focus to this widget.

Callers 15

header_existsMethod · 0.45
__init__Method · 0.45
__del__Method · 0.45
setMethod · 0.45
getMethod · 0.45
getbooleanFunction · 0.45
tk_strictMotifMethod · 0.45
winfo_colormapfullMethod · 0.45
_getbooleanMethod · 0.45
selection_presentMethod · 0.45
selection_includesMethod · 0.45
compareMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_getbooleanMethod · 0.36
test_getbooleanMethod · 0.36
info_existsMethod · 0.36