MCPcopy Index your code
hub / github.com/python/cpython / getboolean

Method getboolean

Lib/tkinter/__init__.py:793–798  ·  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

791 raise ValueError(str(exc))
792
793 def getboolean(self, s):
794 """Return a boolean value for Tcl boolean values true and false given as parameter."""
795 try:
796 return self.tk.getboolean(s)
797 except TclError:
798 raise ValueError("invalid literal for getboolean()")
799
800 def focus_set(self):
801 """Direct input focus to this widget.

Callers 15

__init__Method · 0.45
__del__Method · 0.45
setMethod · 0.45
getMethod · 0.45
getbooleanFunction · 0.45
tk_strictMotifMethod · 0.45
tk_busy_statusMethod · 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

no test coverage detected