mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
18 lines
322 B
Ruby
18 lines
322 B
Ruby
|
#
|
||
|
# 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
|