iup.Close will destroy the IUP context and all IUP elements. Is that what
you want? Usually this is done after iup.MainLoop returns.

Best,
Scuri
Em 10/01/2015 00:26, "Milind Gupta" <[email protected]> escreveu:

> Hi,
>       If I have iup.Close() in my main dialog close_cb function then it
> closes the dialog but then I get the Lua crash notice. For example see the
> simple example attached.
>       Am I not using iup.Close() correctly?
>
> Thanks,
> Milind
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to