module Tk::BWidget::DynamicHelp
Public Class Methods
__cget_cmd()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 30 def self.__cget_cmd ['DynamicHelp::configure'] end
__config_cmd()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 34 def self.__config_cmd ['DynamicHelp::configure'] end
__pathname()
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 21 def self.__pathname 'DynamicHelp::configure' end
add(widget, keys={})
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 49 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 45 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 38 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 53 def self.delete(widget) tk_call('DynamicHelp::delete', widget) end
include(klass, type)
click to toggle source
# File lib/tkextlib/bwidget/dynamichelp.rb, line 57 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 61 def self.sethelp(path, subpath, force=None) tk_call('DynamicHelp::sethelp', path, subpath, force) end
Private Instance Methods
__strval_optkeys()
click to toggle source
Calls superclass method
# File lib/tkextlib/bwidget/dynamichelp.rb, line 25 def __strval_optkeys super() << 'topbackground' end