# File tk/lib/tkextlib/bwidget.rb, line 39 def self.XLFDfont(cmd, *args) if args[-1].kind_of?(Hash) keys = args.pop args.concat(hash_kv(keys)) end tk_call('BWidget::XLFDfont', cmd, *args) end
# File tk/lib/tkextlib/bwidget.rb, line 47 def self.assert(exp, msg=None) tk_call('BWidget::assert', exp, msg) end
# File tk/lib/tkextlib/bwidget.rb, line 51 def self.badOptionString(type, value, list) tk_call('BWidget::badOptionString', type, value, list) end
# File tk/lib/tkextlib/bwidget.rb, line 55 def self.bindMouseWheel(widget) tk_call('BWidget::bindMouseWheel', widget) end
# File tk/lib/tkextlib/bwidget.rb, line 59 def self.classes(klass) list(tk_call('BWidget::classes', klass)) end
# File tk/lib/tkextlib/bwidget.rb, line 63 def self.clonename(menu) tk_call('BWidget::clonename', menu) end
# File tk/lib/tkextlib/bwidget.rb, line 67 def self.focus(opt, path) tk_call('BWidget::focus', opt, path) end
# File tk/lib/tkextlib/bwidget.rb, line 71 def self.get3dcolor(path, bgcolor) tk_call('BWidget::get3dcolor', path, bgcolor) end
# File tk/lib/tkextlib/bwidget.rb, line 75 def self.getname(name) tk_call('BWidget::getname', name) end
# File tk/lib/tkextlib/bwidget.rb, line 79 def self.grab(opt, path) tk_call('BWidget::grab', opt, path) end
# File tk/lib/tkextlib/bwidget.rb, line 83 def self.inuse(klass) bool(tk_call('BWidget::inuse', klass)) end
# File tk/lib/tkextlib/bwidget.rb, line 87 def self.library(klass, *klasses) tk_call('BWidget::library', klass, *klasses) end
# File tk/lib/tkextlib/bwidget.rb, line 91 def self.lreorder(list, neworder) tk_call('BWidget::lreorder', list, neworder) end
# File tk/lib/tkextlib/bwidget.rb, line 27 def self.package_name PACKAGE_NAME end
# File tk/lib/tkextlib/bwidget.rb, line 31 def self.package_version begin TkPackage.require('BWidget') rescue '' end end
# File tk/lib/tkextlib/bwidget.rb, line 95 def self.parsetext(text) tk_call('BWidget::parsetext', text) end
# File tk/lib/tkextlib/bwidget.rb, line 99 def self.place(path, w, h, *args) if args[-1].kind_of?(Hash) keys = args.pop args.concat(hash_kv(keys)) end tk_call('BWidget::place', path, w, h, *(args.flatten)) end
Commenting is here to help enhance the documentation. For example, code samples, 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.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.