class TkApplication

Attributes

tcltk_info[R]

Public Class Methods

new(_application_params) click to toggle source
Calls superclass method Application::new
# File lib/a-tkcommons.rb, line 79
def initialize(_application_params)
  super(_application_params)
  @tcltk_info = TclTkInfo.new
end
sys_info() click to toggle source
# File lib/a-tkcommons.rb, line 84
def self.sys_info
  "#{super}\n[TclTk version = #{TclTkInfo.new.level}]"
end

Public Instance Methods

run() click to toggle source
# File lib/a-tkcommons.rb, line 88
def run
  Tk.appname(self['applicationParams'].name)
  Tk.mainloop
end