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
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus