Module: Tk::Tcllib::Tooltip

Module | Tk::Tcllib::Tooltip
In: | tk/lib/tkextlib/tcllib/tooltip.rb

### Methods

clear clear_children clear_glob clear_widgets database_class database_classname delay delay= disable enable erase off on package_name package_version register

### Constants

PACKAGE_NAME | = | 'tooltip'.freeze
WidgetClassName | = | 'Tooltip'.freeze

### Public Class methods

clear(glob_path_pat = None)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 44
      def self.clear(glob_path_pat = None)
        self.clear_glob(glob_path_pat)
      end

clear_children(*args)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 56
      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)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 48
      def self.clear_glob(glob_path_pat)
        tk_call_without_enc('::tooltip::tooltip', 'clear', glob_path_pat)
      end

clear_widgets(*args)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 52
      def self.clear_widgets(*args)
        self.clear_glob("{#{args.collect{|w| _get_eval_string(w)}.join(',')}}")
      end

database_class()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 40
      def self.database_class
        WidgetClassNames[self::WidgetClassName]
      end

database_classname()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 37
      def self.database_classname
        self::WidgetClassName
      end

delay(millisecs=None)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 60
      def self.delay(millisecs=None)
        number(tk_call_without_enc('::tooltip::tooltip', 'delay', millisecs))
      end

delay=(millisecs)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 63
      def self.delay=(millisecs)
        self.delay(millisecs)
      end

disable()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 67
      def self.disable
        tk_call_without_enc('::tooltip::tooltip', 'disable')
        false
      end

enable()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 75
      def self.enable
        tk_call_without_enc('::tooltip::tooltip', 'enable')
        true
      end

erase(widget)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 92
      def self.erase(widget)
        tk_call_without_enc('::tooltip::tooltip', widget.path, '')
      end

off()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 71
      def self.off
        self.disable
      end

on()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 79
      def self.on
        self.enable
      end

package_name()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 19
        def self.package_name
          PACKAGE_NAME
        end

package_version()

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 23
        def self.package_version
          begin
            TkPackage.require('tooltip')
          rescue
            ''
          end
        end

register(widget, msg, keys=nil)

[Source]

    # File tk/lib/tkextlib/tcllib/tooltip.rb, line 83
      def self.register(widget, msg, keys=nil)
        if keys.kind_of?(Hash)
          args = hash_kv(keys) << msg
        else
          args = msg
        end
        tk_call_without_enc('::tooltip::tooltip', widget.path, *args)
      end

[Validate]