# File tk/lib/tkextlib/tcllib/validator.rb, line 36 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 41 def self.detach(widget) tk_call_without_enc('::widget::validator', 'detach', widget) nil end
# File tk/lib/tkextlib/tcllib/validator.rb, line 19 def self.package_name PACKAGE_NAME end
# File tk/lib/tkextlib/tcllib/validator.rb, line 51 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 56 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 61 def invoke_validator(color, cmd=Proc.new) tk_call_without_enc('::widget::validator', 'validate', @path) self end
Commenting is here to help enhance the documentation. For example, code samples, 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.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.