Class/Module Index [+]

Quicksearch

Tk::Tcllib::Widget

Public Class Methods

isa(compare_as, *args) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/widget.rb, line 31
def self.isa(compare_as, *args)
  begin
    return Tk.tk_call('::widget::isa', compare_as, *args)
  rescue => e
    if TkComm.bool(Tk.tk_call('info','command','::widget::isa')) ||
        ! TkComm.bool(Tk.tk_call('info','command','::widget::validate'))
      fail e
    end
  end
  Tk.tk_call('::widget::validate', compare_as, *args)
end
            
package_name() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/widget.rb, line 18
def self.package_name
  PACKAGE_NAME
end
            
package_version() click to toggle source
 
               # File tk/lib/tkextlib/tcllib/widget.rb, line 22
def self.package_version
  begin
    TkPackage.require('widget')
  rescue
    ''
  end
end
            
validate(compare_as, *args) click to toggle source
 
               # File tk/lib/tkextlib/tcllib/widget.rb, line 42
def self.validate(compare_as, *args)
  begin
    return Tk.tk_call('::widget::validate', compare_as, *args)
  rescue => e
    if TkComm.bool(Tk.tk_call('info','command','::widget::validate')) ||
        ! TkComm.bool(Tk.tk_call('info','command','::widget::isa'))
      fail e
    end
  end
  Tk.tk_call('::widget::isa', compare_as, *args)
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.

blog comments powered by Disqus