# File tk/lib/tk/busy.rb, line 73 def current(pat=None) list(tk_call('tk', 'busy', 'current', pat)) end
# File tk/lib/tk/busy.rb, line 68 def forget(*wins) tk_call_without_enc('tk', 'busy', 'forget', *wins) self end
# File tk/lib/tk/busy.rb, line 63 def hold(win, keys={}) tk_call_without_enc('tk', 'busy', 'hold', win, *hash_kv(keys)) win end
# File tk/lib/tk/busy.rb, line 41 def method_missing(id, *args) name = id.id2name case args.length when 1 if name[-1] == == configure name[0..-2], args[0] args[0] else configure name, args[0] self end when 0 begin cget(name) rescue super(id, *args) end else super(id, *args) end end
# File tk/lib/tk/busy.rb, line 100 def busy(keys={}) Tk::Busy.hold(self, keys) self end
# File tk/lib/tk/busy.rb, line 96 def busy_cget(option) Tk::Busy.configure(self, option) end
# File tk/lib/tk/busy.rb, line 83 def busy_configinfo(option=nil) Tk::Busy.configinfo(self, option) end
# File tk/lib/tk/busy.rb, line 91 def busy_configure(option, value=None) Tk::Busy.configure(self, option, value) self end
# File tk/lib/tk/busy.rb, line 111 def busy_current? ! Tk::Busy.current(self.path).empty? end
# File tk/lib/tk/busy.rb, line 87 def busy_current_configinfo(option=nil) Tk::Busy.current_configinfo(self, option) end
Commenting is here to help enhance the documentation. For example, sample code, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.