summaryrefslogtreecommitdiff
path: root/lib/tkbgerror.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-17 05:16:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-07-17 05:16:38 +0000
commit0ac67b89331e03f82f731aa952050f4cfc64c80e (patch)
tree66119fe3f775d336772ccd8be7734f6afbf8f41a /lib/tkbgerror.rb
parentc2fa49a9b453621dbe80630f3be88223fe10ab29 (diff)
1.1c0 addendum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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