Module Tk::Tcllib::Autoscroll
In: tk/lib/tkextlib/tcllib/autoscroll.rb

Methods

Constants

PACKAGE_NAME = 'autoscroll'.freeze

Public Class methods

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 139
      def self.autoscroll(win)
        tk_call_without_enc('::autoscroll::autoscroll', win.path)
      end

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 51
      def self.autoscroll(win)
        Tk::Tcllib::Autoscroll.not_available
      end

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 47
      def self.not_available
        fail RuntimeError, "'tkextlib/tcllib/autoscroll' extension is not available on your current environment."
      end

[Source]

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

[Source]

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

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 143
      def self.unautoscroll(win)
        tk_call_without_enc('::autoscroll::unautoscroll', win.path)
      end

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 55
      def self.unautoscroll(win)
        Tk::Tcllib::Autoscroll.not_available
      end

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 152
      def self.unwrap
        # v1.1
        tk_call_without_enc('::autoscroll::unwrap')
      end

[Source]

# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 147
      def self.wrap
        # v1.1
        tk_call_without_enc('::autoscroll::wrap')
      end

[Validate]