Namespace
Methods
I
P
V
Constants
DateEntry = Dateentry
 
MenuEntry = Menuentry
 
Panelframe = PanelFrame
 
Screenruler = ScreenRuler
 
ScrolledWindow = Scrolledwindow
 
Scrolledwindow = ScrolledWindow
 
Superframe = SuperlFrame
 
PACKAGE_NAME = 'widget'.freeze
 
Class Public methods
isa(compare_as, *args)
# File ext/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()
# File ext/tk/lib/tkextlib/tcllib/widget.rb, line 18
def self.package_name
  PACKAGE_NAME
end
package_version()
# File ext/tk/lib/tkextlib/tcllib/widget.rb, line 22
def self.package_version
  begin
    TkPackage.require('widget')
  rescue
    ''
  end
end
validate(compare_as, *args)
# File ext/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