module Tk::BWidget::DynamicHelp
Public Class Methods
__cget_cmd()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 29 def self.__cget_cmd ['DynamicHelp::configure'] end
__config_cmd()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 33 def self.__config_cmd ['DynamicHelp::configure'] end
__pathname()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 20 def self.__pathname 'DynamicHelp::configure' end
add(widget, keys={})
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 48 def self.add(widget, keys={}) tk_call('DynamicHelp::add', widget, *hash_kv(keys)) end
cget(slot)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 44 def self.cget(slot) self.current_configinfo(slot).values[0] end
cget_strict(slot)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 37 def self.cget_strict(slot) slot = slot.to_s info = {} self.current_configinfo.each{|k,v| info[k.to_s] = v if k.to_s == slot} fail RuntimeError, "unknown option \"-#{slot}\"" if info.empty? info.values[0] end
delete(widget)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 52 def self.delete(widget) tk_call('DynamicHelp::delete', widget) end
include(klass, type)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 56 def self.include(klass, type) tk_call('DynamicHelp::include', klass, type) end
sethelp(path, subpath, force=None)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 60 def self.sethelp(path, subpath, force=None) tk_call('DynamicHelp::sethelp', path, subpath, force) end