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