class Tk::Tcllib::Widget::ScreenRuler
Constants
- PACKAGE_NAME
- TkCommandNames
Public Class Methods
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 20 def self.package_name PACKAGE_NAME end
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 24 def self.package_version begin TkPackage.require('widget::screenruler') rescue '' end end
Public Instance Methods
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 59 def display tk_send('display') self end
Also aliased as: show
Private Instance Methods
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 39 def __boolval_optkeys ['topmost', 'reflect'] end
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 44 def __numlistval_optkeys ['alpha'] end
Source
# File lib/tkextlib/tcllib/screenruler.rb, line 49 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