In Files

  • tk/lib/tkextlib/treectrl/tktreectrl.rb

Class/Module Index [+]

Quicksearch

Tk::TreeCtrl_Widget

Public Class Methods

image_tint(img, color, alpha) click to toggle source
 
               # File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 61
def self.image_tint(img, color, alpha)
  Tk.tk_call_without_enc('imagetint', img, color, alpha)
end
            
loupe(img, x, y, w, h, zoom) click to toggle source
 
               # File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 47
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
            
package_name() click to toggle source
 
               # File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 23
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 27
def self.package_version
  begin
    TkPackage.require('treectrl')
  rescue
    ''
  end
end
            
text_layout(font, text, keys={}) click to toggle source
 
               # File tk/lib/tkextlib/treectrl/tktreectrl.rb, line 57
def self.text_layout(font, text, keys={})
  TkComm.list(Tk.tk_call_without_enc('textlayout', font, text, keys))
end