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

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus