TkConsole (Module)

In: tk/lib/tk/console.rb

Methods

eval   hide   show   title  

Constants

TkCommandNames = ['console'.freeze].freeze

Included Modules

Tk

Public Class methods

[Source]

# File tk/lib/tk/console.rb, line 21
  def self.eval(tcl_script)
    #

    # supports a Tcl script only

    # I have no idea to support a Ruby script seamlessly.

    #

    _fromUTF8(tk_call_without_enc('console', 'eval', 
                                  _get_eval_enc_str(tcl_script)))
  end

[Source]

# File tk/lib/tk/console.rb, line 15
  def self.hide
    tk_call_without_enc('console', 'hide')
  end

[Source]

# File tk/lib/tk/console.rb, line 18
  def self.show
    tk_call_without_enc('console', 'show')
  end

[Source]

# File tk/lib/tk/console.rb, line 12
  def self.title(str=None)
    tk_call 'console', str
  end

[Validate]