The "iupHandle" is a metatable. Everything set that is recognized by IUP,
is stored in the IHandle with IupStoreAttribute. If it is a Lua table it is
stored in the Lua object.
Take a look at the iuplua.lua source file to better understand that.
Best,
Scuri
On Sat, Jul 11, 2015 at 11:56 AM,
IupGetAttribute(ih, "myAttr1") doesn't seem to work.
On Sat, Jul 11, 2015 at 7:56 AM, Milind Gupta
wrote:
> The things added by Lua to the iupObject are not stored in a Lua table
> somewhere?
>
>
>
> On Sat, Jul 11, 2015 at 7:53 AM, Antonio Scuri
> wrote:
>
>>"For the reverse," in C? I don
The things added by Lua to the iupObject are not stored in a Lua table
somewhere?
On Sat, Jul 11, 2015 at 7:53 AM, Antonio Scuri
wrote:
>"For the reverse," in C? I don't known.
>
> Best,
> Scuri
>
>
> On Sat, Jul 11, 2015 at 11:52 AM, Antonio Scuri
> wrote:
>
>> Have you tried IupGetAtt
"For the reverse," in C? I don't known.
Best,
Scuri
On Sat, Jul 11, 2015 at 11:52 AM, Antonio Scuri
wrote:
> Have you tried IupGetAttribute(ih, "myAttr1")?
>
> Unfortunately for "myAttr" that is a Lua table should be more
> complicated than that.
>
> Best,
> Scuri
>
>
> On Sat, Jul 11,
Have you tried IupGetAttribute(ih, "myAttr1")?
Unfortunately for "myAttr" that is a Lua table should be more complicated
than that.
Best,
Scuri
On Sat, Jul 11, 2015 at 11:47 AM, Milind Gupta
wrote:
> Hi,
> If I add an attribute in Lua to any iup object example the
> matrix. How c
For the reverse, how can I add a attribute (say the call back pointer or
another pointer i.e. a light userdata) in that lua table so I can retrieve
later so that it also gets garbage collected when the Lua table is
collected?
Thanks,
Milind
On Sat, Jul 11, 2015 at 7:47 AM, Milind Gupta
wrote: