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.



1578
1579
1580
1581
# File 'lib/a-tkcommons.rb', line 1578

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.



1577
1578
1579
# File 'lib/a-tkcommons.rb', line 1577

def level
  @level
end