cget(w, slot)
click to toggle source
def cget(w, slot)
current_itemconfiginfo(w, slot).values[0]
end
confuginfo(w, slot = nil)
click to toggle source
def confuginfo(w, slot = nil)
itemconfiginfo(w, slot)
end
confugure(w, slot, value=None)
click to toggle source
def confugure(w, slot, value=None)
itemconfigure(w, slot, value)
end
crosshair(w, keys={})
click to toggle source
def self.crosshair(w, keys={})
Tk.tk_call('::crosshair::crosshair', w, *hash_kv(keys))
w
end
current_configinfo(w, slot = nil)
click to toggle source
def current_configinfo(w, slot = nil)
current_itemconfiginfo(w, slot)
end
off(w)
click to toggle source
def self.off(w)
Tk.tk_call('::crosshair::off', w)
w
end
on(w, keys={})
click to toggle source
def self.on(w, keys={})
self.crosshair(w, keys)
end
package_name()
click to toggle source
def self.package_name
PACKAGE_NAME
end
package_version()
click to toggle source
def self.package_version
begin
TkPackage.require('crosshair')
rescue
''
end
end
track_off(w)
click to toggle source
def self.track_off(w)
Tk.tk_call('::crosshair::track_off', w)
w
end
track_on(w, &b)
click to toggle source
def self.track_on(w, &b)
Tk.tk_call('::crosshair::track_on', w, b)
w
end
crosshair_cget(slot)
click to toggle source
def crosshair_cget(slot)
Tk::Tcllib::Crosshair.cget(self, slot)
end
crosshair_configinfo(slot = nil)
click to toggle source
def crosshair_configinfo(slot = nil)
Tk::Tcllib::Crosshair.configinfo(self, slot)
end
crosshair_current_configinfo(slot = nil)
click to toggle source
def crosshair_current_configinfo(slot = nil)
Tk::Tcllib::Crosshair.current_configinfo(self, slot)
end
crosshair_off()
click to toggle source
def crosshair_off
Tk::Tcllib::Crosshair.off(self)
end
crosshair_on(keys={})
click to toggle source
def crosshair_on(keys={})
Tk::Tcllib::Crosshair.on(self, keys)
end
crosshair_track_off()
click to toggle source
def crosshair_track_off
Tk::Tcllib::Crosshair.track_off(self)
end
crosshair_track_on(&b)
click to toggle source
def crosshair_track_on(&b)
Tk::Tcllib::Crosshair.track_on(self, &b)
end