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)
| 946 | busy_cget = tk_busy_cget |
| 947 | |
| 948 | def tk_busy_configure(self, cnf=None, **kw): |
| 949 | """Query or modify the busy configuration options. |
| 950 | |
| 951 | The widget must have been previously made busy by |
| 952 | tk_busy_hold(). Options may have any of the values accepted by |
| 953 | tk_busy_hold(). |
| 954 | |
| 955 | Please note that the option database is referenced by the widget |
| 956 | name or class. For example, if a Frame widget with name "frame" |
| 957 | is to be made busy, the busy cursor can be specified for it by |
| 958 | either call: |
| 959 | |
| 960 | w.option_add('*frame.busyCursor', 'gumby') |
| 961 | w.option_add('*Frame.BusyCursor', 'gumby') |
| 962 | """ |
| 963 | if kw: |
| 964 | cnf = _cnfmerge((cnf, kw)) |
| 965 | elif cnf: |
| 966 | cnf = _cnfmerge(cnf) |
| 967 | if cnf is None: |
| 968 | return self._getconfigure( |
| 969 | 'tk', 'busy', 'configure', self._w) |
| 970 | if isinstance(cnf, str): |
| 971 | return self._getconfigure1( |
| 972 | 'tk', 'busy', 'configure', self._w, '-'+cnf) |
| 973 | self.tk.call('tk', 'busy', 'configure', self._w, *self._options(cnf)) |
| 974 | busy_config = busy_configure = tk_busy_config = tk_busy_configure |
| 975 | |
| 976 | def tk_busy_current(self, pattern=None): |