Method: Tk::TclX::XPG3_MsgCat#close

Defined in:
lib/tkextlib/tclx/tclx.rb

#close(fail_mode = false) ⇒ Object



60
61
62
63
64
65
66
67
# File 'lib/tkextlib/tclx/tclx.rb', line 60

def close(fail_mode=false)
  if fail_mode
    Tk.tk_call('catclose', '-fail', @msgcat_id)
  else
    Tk.tk_call('catclose', '-nofail', @msgcat_id)
  end
  self
end