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.



1381
1382
1383
1384
# File 'lib/a-tkcommons.rb', line 1381

def initialize
  @level = Tk.tk_call( "eval", "info patchlevel")
  # @level = TclTkIp.new._eval "info patchlevel"
end

Instance Attribute Details

#levelObject (readonly)

Returns the value of attribute level.



1380
1381
1382
# File 'lib/a-tkcommons.rb', line 1380

def level
  @level
end