class Tk::Tcllib::Widget::Screenruler
Constants
- PACKAGE_NAME
- TkCommandNames
Public Class Methods
package_name()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 19 def self.package_name PACKAGE_NAME end
package_version()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 23 def self.package_version begin TkPackage.require('widget::screenruler') rescue '' end end
Public Instance Methods
display()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 58 def display tk_send('display') self end
Also aliased as: show
hide()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 64 def hide tk_send('hide') self end
Private Instance Methods
__boolval_optkeys()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 38 def __boolval_optkeys ['topmost', 'reflect'] end
__numlistval_optkeys()
click to toggle source
# File lib/tkextlib/tcllib/screenruler.rb, line 43 def __numlistval_optkeys ['alpha'] end
create_self(keys)
click to toggle source
# File lib/tkextlib/tcllib/screenruler.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