Class: TclTkInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/a-tkcommons.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTclTkInfo

Returns a new instance of TclTkInfo.



2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
# File 'lib/a-tkcommons.rb', line 2172

def initialize
  @level = Tk.tk_call( "eval", "info patchlevel")

#    info args procname 
#    info body procname 
#    info cmdcount 
#    info commands ?pattern? 
#    info complete command 
#    info default procname arg varname 
#    info exists varName 
#    info globals ?pattern? 
#    info hostname 
#    info level ?number? 
#    info library 
#    info loaded ?interp? 
#    info locals ?pattern? 
#    info nameofexecutable 
#    info patchlevel 
#    info procs ?pattern? 
#    info script 
#    info sharedlibextension 
#    info tclversion 
#    info vars ?pattern?     
end

Instance Attribute Details

#levelObject (readonly)

Returns the value of attribute level.



2171
2172
2173
# File 'lib/a-tkcommons.rb', line 2171

def level
  @level
end