# File tk/lib/tkextlib/tcllib/crosshair.rb, line 87
def cget(w, slot)
current_itemconfiginfo(w, slot).values[0]
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 81
def confuginfo(w, slot = nil)
itemconfiginfo(w, slot)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 78
def confugure(w, slot, value=None)
itemconfigure(w, slot, value)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 36
def self.crosshair(w, keys={})
Tk.tk_call('::crosshair::crosshair', w, *hash_kv(keys))
w
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 84
def current_configinfo(w, slot = nil)
current_itemconfiginfo(w, slot)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 44
def self.off(w)
Tk.tk_call('::crosshair::off', w)
w
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 40
def self.on(w, keys={})
self.crosshair(w, keys)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 18
def self.package_name
PACKAGE_NAME
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 22
def self.package_version
begin
TkPackage.require('crosshair')
rescue
''
end
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 114
def crosshair_cget(slot)
Tk::Tcllib::Crosshair.cget(self, slot)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 108
def crosshair_configinfo(slot = nil)
Tk::Tcllib::Crosshair.configinfo(self, slot)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 105
def crosshair_configure(*args)
Tk::Tcllib::Crosshair.configure(self, *args)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 111
def crosshair_current_configinfo(slot = nil)
Tk::Tcllib::Crosshair.current_configinfo(self, slot)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 96
def crosshair_off
Tk::Tcllib::Crosshair.off(self)
end
# File tk/lib/tkextlib/tcllib/crosshair.rb, line 93
def crosshair_on(keys={})
Tk::Tcllib::Crosshair.on(self, keys)
end
Commenting is here to help enhance the documentation. For example, sample code, 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.