Namespace
Methods
B
C
D
E
F
I
P
S
Included Modules
Constants
LIBRARY = TkVarAccess.new('::itcl::library')
 
PURIST = TkVarAccess.new('::itcl::purist')
 
VERSION = TkCore::INTERP._invoke("set", "::itcl::version").freeze
 
PATCHLEVEL = TkCore::INTERP._invoke("set", "::itcl::patchLevel").freeze
 
PACKAGE_NAME = 'Itcl'.freeze
 
Class Public methods
body(klass, func, args, body)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 111
def self.body(klass, func, args, body)
  tk_call('::itcl::body', "#{klass}::#{func}", args, body)
end
code(cmd, *args)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 115
def self.code(cmd, *args)
  tk_call('::itcl::code', cmd, *args)
end
code_in_namespace(namespace, cmd, *args)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 119
def self.code_in_namespace(namespace, cmd, *args)
  tk_call('::itcl::code', '-namespace', namespace, cmd, *args)
end
configbody(klass, var, body)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 123
def self.configbody(klass, var, body)
  tk_call('::itcl::configbody', "#{klass}::#{var}", body)
end
create_itcl_class(name, body)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 127
def self.create_itcl_class(name, body)
  TkCore::INTERP._invoke('::itcl::class', name, body)
  klass = Class.new(Tk::Itcl::ItclObject)
  klass.const_set('ITCL_CLASSNAME', name.dup.freeze)
  klass
end
create_local_obj(klass, name, *args)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 166
def self.create_local_obj(klass, name, *args)
  tk_call('::itcl::local', klass, name, *args)
end
delete_itcl_class(*names)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 134
def self.delete_itcl_class(*names)
  tk_call('::itcl::delete', 'class',  *names)
end
delete_itcl_object(*names)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 138
def self.delete_itcl_object(*names)
  tk_call('::itcl::delete', 'object',  *names)
end
delete_namespace(*names)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 142
def self.delete_namespace(*names)
  tk_call('::itcl::delete', 'namespace',  *names)
end
ensemble(name, *args)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 146
def self.ensemble(name, *args)
  tk_call('::itcl::ensemble', name, *args)
end
find_classes(pat=None)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 150
def self.find_classes(pat=None)
  simplelist(tk_call('::itcl::find', 'classes', pat))
end
find_objects(*args)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 154
def self.find_objects(*args)
  simplelist(tk_call('::itcl::find', 'objects', *args))
end
is_itcl_class(target)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 158
def self.is_itcl_class(target)
  bool(tk_call('::itcl::is', 'class', target))
end
is_itcl_instance(klass, target)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 170
def self.is_itcl_instance(klass, target)
  bool(tk_call('::itcl::is', 'object', '-class', klass, target))
end
is_itcl_object(target)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 162
def self.is_itcl_object(target)
  bool(tk_call('::itcl::is', 'object', target))
end
package_name()
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 26
def self.package_name
  PACKAGE_NAME
end
package_version()
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 30
def self.package_version
  begin
    TkPackage.require('Itcl')
  rescue
    ''
  end
end
scope(var)
# File ext/tk/lib/tkextlib/itcl/incr_tcl.rb, line 174
def self.scope(var)
  tk_call('::itcl::scope', var)
end