lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


  You can also call the iup.ExitLoop() function.

  And if you hide or destroy all the visible dialogs the loop will
automatically quit.

Best,
scuri

> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org]
> On Behalf Of Steve Litt
> Sent: terça-feira, 15 de fevereiro de 2011 01:25
> To: Lua mailing list
> Subject: Re: How do you force IUP's iup.MainLoop() to quit?
> 
> On Monday 14 February 2011 22:22:03 Steve Litt wrote:
> > Hi all,
> >
> > How do you force IUP's iup.MainLoop() to quit?
> >
> > Thanks
> >
> > SteveT
> 
> Oh never mind, I found out you return iup.CLOSE from a subroutine and
> it
> somehow magically causes iup.MainLoop to terminate. Go figure :-)
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt