Depends on the situation. If you destroy a dialog inside a button callback
then you have to return I up.IGNORE.

Best,
Scuri
Em 29/09/2014 03:41, "Karagy" <[email protected]> escreveu:

> Hi, all.
>
> In general, it is correct to call iup.Destroy(AnElement) from AnElemet's
> child callback?
> For sample:
>
> hbox = iup.hbox{}
> iup.Append({hbox, iup.button{
>      -- ...
>      action = function(this)
>          -- ...
>          iup.Destroy(hbox)
>      end,
> })
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to