# File tk/lib/tkextlib/tcllib/validator.rb, line 35 def self.attach(widget, color, cmd=Proc.new) tk_call_without_enc('::widget::validator', 'attach', widget, color, cmd) nil end
# File tk/lib/tkextlib/tcllib/validator.rb, line 40 def self.detach(widget) tk_call_without_enc('::widget::validator', 'detach', widget) nil end
# File tk/lib/tkextlib/tcllib/validator.rb, line 18 def self.package_name PACKAGE_NAME end
# File tk/lib/tkextlib/tcllib/validator.rb, line 50 def attach_validator(color, cmd=Proc.new) tk_call_without_enc('::widget::validator', 'attach', @path, color, cmd) self end
# File tk/lib/tkextlib/tcllib/validator.rb, line 55 def detach_validator(color, cmd=Proc.new) tk_call_without_enc('::widget::validator', 'detach', @path) self end
# File tk/lib/tkextlib/tcllib/validator.rb, line 60 def invoke_validator(color, cmd=Proc.new) tk_call_without_enc('::widget::validator', 'validate', @path) self end