Hi Jae,
I don't know about App opening, but I too looked for a closing callback
and discovered there aren't any in the current release of Shoes. I created
a patch to create one called 'onclose' (to avoid conflicting with the
existing close method), which you can find at my github fork of shoes:
http://github.com/kball/shoes/tree/master
You'd have to build Shoes yourself... but once you did with this patch you
could do something like
app = Shoes.app {para 'close me'}
app.onclose do
Shoes.debug "You just closed the app"
end
I'm not 100% confident that the implementation is hooked in the right way; I
want to revisit it as I build a better understanding of the Shoes codebase,
but so far it seems to work.
-Kevin
On Wed, Jan 21, 2009 at 5:26 PM, Jae Hess <[email protected]> wrote:
> Hey All -
>
> Maybe I am missing something, but are there any callbacks / events fired
> when a Shoes App is opened (initialized) or closed?
>
> Thanks in advance.
>
> Cheers!
>
> Jae
>