IupGetAttribute(ih, "myAttr1") doesn't seem to work.
On Sat, Jul 11, 2015 at 7:56 AM, Milind Gupta <[email protected]>
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 <[email protected]>
> wrote:
>
>> "For the reverse," in C? I don't known.
>>
>> Best,
>> Scuri
>>
>>
>> On Sat, Jul 11, 2015 at 11:52 AM, Antonio Scuri <[email protected]
>> > 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, 2015 at 11:47 AM, Milind Gupta <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>> If I add an attribute in Lua to any iup object example the
>>>> matrix. How can I read it in C?
>>>>
>>>> Lets say
>>>>
>>>> m = iup.matrix{}
>>>> m.myAttr = {1,2,3}
>>>> m.myAttr1 = "Hello"
>>>>
>>>>
>>>> Now once I get the Ihandle for m in C how do I get myAttr and myAttr1?
>>>>
>>>> Thanks,
>>>> Milind
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Don't Limit Your Business. Reach for the Cloud.
>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>> you need to offload your IT needs and focus on growing your business.
>>>> Configured For All Businesses. Start Your Cloud Today.
>>>> https://www.gigenetcloud.com/
>>>> _______________________________________________
>>>> Iup-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Don't Limit Your Business. Reach for the Cloud.
>> GigeNET's Cloud Solutions provide you with the tools and support that
>> you need to offload your IT needs and focus on growing your business.
>> Configured For All Businesses. Start Your Cloud Today.
>> https://www.gigenetcloud.com/
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users