Class Tk::TreeCtrl
In: tk/lib/tkextlib/treectrl/tktreectrl.rb
Parent: TkWindow

Methods

Classes and Modules

Module Tk::TreeCtrl::ConfigMethod
Class Tk::TreeCtrl::NotifyEvent

Public Class methods

[Source]

# File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 36
    def self.loupe(img, x, y, w, h, zoom)
      # NOTE: platform == 'unix' only


      # img  => TkPhotoImage

      # x, y => screen coords 

      # w, h => magnifier width and height

      # zoom => zooming rate

      Tk.tk_call_without_enc('loupe', img, x, y, w, h, zoom)
    end

[Source]

# File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 19
    def self.package_version
      begin
        TkPackage.require('treectrl')
      rescue
        ''
      end
    end

[Validate]