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.



1684
1685
1686
1687
# File 'lib/a-tkcommons.rb', line 1684

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.



1683
1684
1685
# File 'lib/a-tkcommons.rb', line 1683

def level
  @level
end