[fxruby-users] close application event handling
Lyle Johnson
lyle at lylejohnson.name
Mon Aug 4 20:17:57 EDT 2008
On Aug 4, 2008, at 7:16 AM, angico wrote:
> Hi, all!
>
> I'm trying to handle the event associated with a user clicking on the
> [X] icon of the main window of an application in order to make such
> decisions as asking the user to save a file or cancel quiting, but I
> just can't find any information about it in RDoc documentation for any
> classes in the hierarchy. Can anybody give me any hint?
Googling for "SEL_CLOSE" revealed numerous answers to this question,
e.g.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/39539
Hope this helps,
Lyle
More information about the fxruby-users
mailing list