MCPcopy Index your code
hub / github.com/RustPython/RustPython / tk_busy_configure

Method tk_busy_configure

Lib/tkinter/__init__.py:930–955  ·  view source on GitHub ↗

Query or modify the busy configuration options. The widget must have been previously made busy by tk_busy_hold(). Options may have any of the values accepted by tk_busy_hold(). Please note that the option database is referenced by the widget name or class.

(self, cnf=None, **kw)

Source from the content-addressed store, hash-verified

928 busy_cget = tk_busy_cget
929
930 def tk_busy_configure(self, cnf=None, **kw):
931 """Query or modify the busy configuration options.
932
933 The widget must have been previously made busy by
934 tk_busy_hold(). Options may have any of the values accepted by
935 tk_busy_hold().
936
937 Please note that the option database is referenced by the widget
938 name or class. For example, if a Frame widget with name "frame"
939 is to be made busy, the busy cursor can be specified for it by
940 either call:
941
942 w.option_add('*frame.busyCursor', 'gumby')
943 w.option_add('*Frame.BusyCursor', 'gumby')
944 """
945 if kw:
946 cnf = _cnfmerge((cnf, kw))
947 elif cnf:
948 cnf = _cnfmerge(cnf)
949 if cnf is None:
950 return self._getconfigure(
951 'tk', 'busy', 'configure', self._w)
952 if isinstance(cnf, str):
953 return self._getconfigure1(
954 'tk', 'busy', 'configure', self._w, '-'+cnf)
955 self.tk.call('tk', 'busy', 'configure', self._w, *self._options(cnf))
956 busy_config = busy_configure = tk_busy_config = tk_busy_configure
957
958 def tk_busy_current(self, pattern=None):

Callers

nothing calls this directly

Calls 6

_getconfigureMethod · 0.95
_getconfigure1Method · 0.95
_optionsMethod · 0.95
_cnfmergeFunction · 0.85
isinstanceFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected