Module: Tk::BWidget::DynamicHelp (Ruby 2.3.4)

In Files

  • tk/lib/tkextlib/bwidget/dynamichelp.rb

Class/Module Index [+]

Quicksearch

Tk::BWidget::DynamicHelp

Public Class Methods

__cget_cmd()
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 30
def self.__cget_cmd
  ['DynamicHelp::configure']
end
            
__config_cmd()
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 34
def self.__config_cmd
  ['DynamicHelp::configure']
end
            
__pathname()
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 21
def self.__pathname
  'DynamicHelp::configure'
end
            
add(widget, keys={})
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 49
def self.add(widget, keys={})
  tk_call('DynamicHelp::add', widget, *hash_kv(keys))
end
            
cget(slot)
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 45
def self.cget(slot)
  self.current_configinfo(slot).values[0]
end
            
cget_strict(slot)
 
               # File tk/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)
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 53
def self.delete(widget)
  tk_call('DynamicHelp::delete', widget)
end
            
include(klass, type)
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 57
def self.include(klass, type)
  tk_call('DynamicHelp::include', klass, type)
end
            
sethelp(path, subpath, force=None)
 
               # File tk/lib/tkextlib/bwidget/dynamichelp.rb, line 61
def self.sethelp(path, subpath, force=None)
  tk_call('DynamicHelp::sethelp', path, subpath, force)
end