summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tkconsole.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkconsole.rb')
-rw-r--r--ext/tk/lib/tkconsole.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/tk/lib/tkconsole.rb b/ext/tk/lib/tkconsole.rb
deleted file mode 100644
index d97df159fc..0000000000
--- a/ext/tk/lib/tkconsole.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# tkconsole.rb : control the console on system without a real console
-#
-require 'tk'
-
-module TkConsole
- include Tk
- extend Tk
-
- TkCommandNames = ['console'.freeze].freeze
-
- def self.title(str=None)
- tk_call 'console', str
- end
- def self.hide
- tk_call 'console', 'hide'
- end
- def self.show
- tk_call 'console', 'show'
- end
- def self.eval(tcl_script)
- #
- # supports a Tcl script only
- # I have no idea to support a Ruby script seamlessly.
- #
- tk_call 'console', 'eval', tcl_script
- end
-end