summaryrefslogtreecommitdiff
path: root/lib/tkbgerror.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tkbgerror.rb')
-rw-r--r--lib/tkbgerror.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/tkbgerror.rb b/lib/tkbgerror.rb
new file mode 100644
index 00000000000..8022077a3fa
--- /dev/null
+++ b/lib/tkbgerror.rb
@@ -0,0 +1,17 @@
+#
+# tkbgerror -- bgerror ( tkerror ) module
+# 1998/07/16 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp>
+#
+require 'tk'
+
+module TkBgError
+ extend Tk
+
+ def bgerror(message)
+ tk_call 'bgerror', message
+ end
+ alias tkerror bgerror
+ alias show bgerror
+
+ module_function :bgerror, :tkerror, :show
+end