Methods
C
D
E
F
O
P
R
Constants
PACKAGE_NAME = 'tooltip'.freeze
 
WidgetClassName = 'Tooltip'.freeze
 
Class Public methods
clear(glob_path_pat = None)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 46
def self.clear(glob_path_pat = None)
  self.clear_glob(glob_path_pat)
end
clear_children(*args)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 58
def self.clear_children(*args)
  self.clear_glob("{#{args.collect{|w| s = _get_eval_string(w); "#{s},#{s}.*"}.join(',')}}")
end
clear_glob(glob_path_pat)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 50
def self.clear_glob(glob_path_pat)
  tk_call_without_enc('::tooltip::tooltip', 'clear', glob_path_pat)
end
clear_widgets(*args)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 54
def self.clear_widgets(*args)
  self.clear_glob("{#{args.collect{|w| _get_eval_string(w)}.join(',')}}")
end
database_class()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 42
def self.database_class
  WidgetClassNames[self::WidgetClassName]
end
database_classname()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 39
def self.database_classname
  self::WidgetClassName
end
delay(millisecs=None)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 62
def self.delay(millisecs=None)
  number(tk_call_without_enc('::tooltip::tooltip', 'delay', millisecs))
end
delay=(millisecs)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 65
def self.delay=(millisecs)
  self.delay(millisecs)
end
disable()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 76
def self.disable
  tk_call_without_enc('::tooltip::tooltip', 'disable')
  false
end
enable()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 84
def self.enable
  tk_call_without_enc('::tooltip::tooltip', 'enable')
  true
end
erase(widget)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 101
def self.erase(widget)
  tk_call_without_enc('::tooltip::tooltip', widget.path, '')
end
fade(mode)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 72
def self.fade(mode)
  tk_call_without_enc('::tooltip::tooltip', 'fade', mode)
end
fade?()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 69
def self.fade?
  bool(tk_call_without_enc('::tooltip::tooltip', 'fade'))
end
off()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 80
def self.off
  self.disable
end
on()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 88
def self.on
  self.enable
end
package_name()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 19
def self.package_name
  PACKAGE_NAME
end
package_version()
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 23
def self.package_version
  begin
    TkPackage.require('tooltip')
  rescue
    ''
  end
end
register(widget, msg, keys=nil)
# File ext/tk/lib/tkextlib/tcllib/tooltip.rb, line 92
def self.register(widget, msg, keys=nil)
  if keys.kind_of?(Hash)
    args = hash_kv(keys) << msg
  else
    args = msg
  end
  tk_call('::tooltip::tooltip', widget.path, *args)
end