Module | Tk::Tcllib::Autoscroll |
In: |
tk/lib/tkextlib/tcllib/autoscroll.rb
|
PACKAGE_NAME | = | 'autoscroll'.freeze |
# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 139 def self.autoscroll(win) tk_call_without_enc('::autoscroll::autoscroll', win.path) end
# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 51 def self.autoscroll(win) Tk::Tcllib::Autoscroll.not_available end
# 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
# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 39 def self.package_version begin TkPackage.require('autoscroll') rescue '' end end
# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 143 def self.unautoscroll(win) tk_call_without_enc('::autoscroll::unautoscroll', win.path) end
# File tk/lib/tkextlib/tcllib/autoscroll.rb, line 55 def self.unautoscroll(win) Tk::Tcllib::Autoscroll.not_available end