[fxruby-users] SEL_CONFIGURE

Joey Kinsella jkinsella at ancillaryservices.com
Tue Nov 24 16:24:40 EST 2009


If it's the main window of your application, you might be able to just get
away with doing something after app.run is finished.

ie:

require 'fox16'
include Fox

a = FXApp.new
w = FXMainWindow.new(a, 'title', :width=>320, :height=>240)

a.create
w.show(PLACEMENT_SCREEN)
a.run

puts "My Cleanup code!"

---

On Mon, Nov 23, 2009 at 2:01 PM, Leslie Viljoen <leslieviljoen at gmail.com>wrote:

> Hi
>
> Thanks for the information on SEL_CONFIGURE. It seems that that
> message gets sent a few times during the window's lifecycle and there
> seems to be no way to tell those times apart from the time when the
> 'x' button in the corner is clicked.
>
> Or is there a way?
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>

--
If you are not the intended recipient, you are hereby notified
that any dissemination, distribution, copying or other use of
this communication is strictly prohibited.  If you have
received this communication in error, please notify us
immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20091124/078ed7d3/attachment.html>


More information about the fxruby-users mailing list