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.



1562
1563
1564
1565
# File 'lib/a-tkcommons.rb', line 1562

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.



1561
1562
1563
# File 'lib/a-tkcommons.rb', line 1561

def level
  @level
end