class Tk::Tcllib::Widget::Ruler
Constants
- PACKAGE_NAME
- TkCommandNames
Public Class Methods
Source
# File lib/tkextlib/tcllib/ruler.rb, line 20 def self.package_name PACKAGE_NAME end
Source
# File lib/tkextlib/tcllib/ruler.rb, line 24 def self.package_version begin TkPackage.require('widget::ruler') rescue '' end end
Public Instance Methods
Source
# File lib/tkextlib/tcllib/ruler.rb, line 63 def shade(org, dest, frac) tk_send('shade', org, dest, frac) end
Private Instance Methods
Source
# File lib/tkextlib/tcllib/ruler.rb, line 38 def __boolval_optkeys ['showvalues', 'outline', 'grid'] end
Source
# File lib/tkextlib/tcllib/ruler.rb, line 43 def __numlistval_optkeys ['interval', 'sizes'] end
Source
# File lib/tkextlib/tcllib/ruler.rb, line 48 def create_self(keys) if keys and keys != None tk_call_without_enc(self.class::TkCommandNames[0], @path, *hash_kv(keys, true)) else tk_call_without_enc(self.class::TkCommandNames[0], @path) end end