Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • tk/lib/tkextlib/tcllib/ruler.rb

Class/Module Index [+]

Quicksearch

Tk::Tcllib::Widget::Ruler

Public Class Methods

package_name() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ruler.rb, line 19
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ruler.rb, line 23
def self.package_version
  begin
    TkPackage.require('widget::ruler')
  rescue
    ''
  end
end
            

Public Instance Methods

redraw() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ruler.rb, line 57
def redraw
  tk_send('redraw')
  self
end
            
shade(org, dest, frac) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/ruler.rb, line 62
def shade(org, dest, frac)
  tk_send('shade', org, dest, frac)
end