call_method(name, *args)
click to toggle source
def call_method(name, *args)
tk_call(@path, name, *args)
end
info_class()
click to toggle source
def info_class
tk_call(@path, 'info', 'class')
end
info_function(*args)
click to toggle source
def info_function(*args)
if args[-1].kind_of?(Array)
params = args.pop
params.each{|param|
param = param.to_s
args << ( (param[0] == ?-)? param: "-#{param}" )
}
end
list(tk_call(@path, 'info', 'function', *args))
end
info_heritage()
click to toggle source
def info_heritage
list(tk_call(@path, 'info', 'heritage'))
end
info_inherit()
click to toggle source
def info_inherit
simplelist(tk_call(@path, 'info', 'inherit'))
end
info_variable(*args)
click to toggle source
def info_variable(*args)
if args[-1].kind_of?(Array)
params = args.pop
params.each{|param|
param = param.to_s
args << ( (param[0] == ?-)? param: "-#{param}" )
}
end
list(tk_call(@path, 'info', 'variable', *args))
end
isa(klass)
click to toggle source
def isa(klass)
bool(tk_call(@path, 'isa', klass))
end
itcl_kind_of?(klass)
click to toggle source
mutex()
click to toggle source