In Files

  • tk/lib/tk/bgerror.rb

Class/Module Index [+]

Quicksearch

TkBgError

Constants

TkCommandNames

Public Class Methods

bgerror(message) click to toggle source
 
               # File tk/lib/tk/bgerror.rb, line 12
def bgerror(message)
  tk_call('bgerror', message)
end
            
Also aliased as: tkerror, show
set_default() click to toggle source
 
               # File tk/lib/tk/bgerror.rb, line 22
def set_default
  begin
    tk_call('rename', 'bgerror', '')
  rescue RuntimeError
  end
end
            
set_handler(hdlr = Proc.new) click to toggle source
 
               # File tk/lib/tk/bgerror.rb, line 19
def set_handler(hdlr = Proc.new) #==> handler :: proc{|msg| ...body... }
  tk_call('proc', 'bgerror', 'msg', install_cmd(hdlr) + ' $msg')
end
            
show(message) click to toggle source
Alias for: bgerror
tkerror(message) click to toggle source
Alias for: bgerror