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)
| 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): |
nothing calls this directly
no test coverage detected