This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tkinter
Recipients tkinter
Date 2016-10-21.17:03:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477069423.12.0.229038359578.issue28498@psf.upfronthosting.co.za>
In-reply-to
Content
tcl tk 8.6.6 has a new busy command. The new tkinter library doesn't provide an interface for this command.

https://www.tcl.tk/man/tcl/TkCmd/busy.htm

The solution is to add to the class Misc of tkinter these methods:

def tk_busy(self, *args, **kw):
    self.tk_busy_hold(*args, **kw)
    
def tk_buy_hold(self, cnf=None, **kw)
    self.tk.call(('tk', 'busy', 'hold', self._w) + self._options(cnf, kw))

def tk_buy_configure(self, cnf=None, **kw):
    self.tk.call(('tk', 'busy', 'configure', self._w) + self._options(cnf, kw))
    
def tk_cget(self, option):
    return self.tk.call('tk', 'busy', 'cget', self._w, option)

def tk_busy_forget(self):
    self.tk_call('tk', 'busy', 'forget', self._w)

def tk_busy_current(self, pattern=None):
    if pattern is None:
        self.tk.call('tk', 'busy', 'current')
    else:
        self.tk.call('tk', 'busy', 'current', pattern)

def tk_busy_status(self):
    return self.tk.call('tk', 'busy', 'status', self._w)
History
Date User Action Args
2016-10-21 17:03:43tkintersetrecipients: + tkinter
2016-10-21 17:03:43tkintersetmessageid: <1477069423.12.0.229038359578.issue28498@psf.upfronthosting.co.za>
2016-10-21 17:03:43tkinterlinkissue28498 messages
2016-10-21 17:03:42tkintercreate