# File tk/lib/tkextlib/tcllib/history.rb, line 37 def self.init(entry, length=None) tk_call_without_enc('::history::init', entry.path, length) entry.extend(self) # add methods to treat history to the entry widget end
# File tk/lib/tkextlib/tcllib/history.rb, line 20 def self.package_name PACKAGE_NAME end
# File tk/lib/tkextlib/tcllib/history.rb, line 52 def history_add(text) tk_call('::history::add', @path, text) self end
# File tk/lib/tkextlib/tcllib/history.rb, line 61 def history_clear tk_call_without_enc('::history::clear', @path) self end
# File tk/lib/tkextlib/tcllib/history.rb, line 71 def history_configinfo(opt) tk_call('::history::configure', @path, opt) end
# File tk/lib/tkextlib/tcllib/history.rb, line 66 def history_configure(opt, value) tk_call('::history::configure', @path, opt, value) self 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.