Somehow I don't have glcanvasbox. I have 3.11 and I do:

require("iuplua")
require("iupluagl")
print(iup.glcanvas)  -- Returns a function
print(iup.glcanvasbox)  -- returns nil

Do I have to require something else for it to work?

Thanks,
Milind



On Fri, Aug 22, 2014 at 1:34 PM, Antonio Scuri <[email protected]>
wrote:

> The documentation is outdated. I already solve that limitation. Thanks for
> reporting.
>
> Best,
> Scuri
>  Em 22/08/2014 17:31, "Milind Gupta" <[email protected]> escreveu:
>
> I was reading the IUPGLcanvasbox documentation over there it says:
>>
>> It can have any number of children, but only controls from the
>> *IupGLControls* library can be used as children along with the void
>> containers such as *IupHbox*, *IupVbox*, and so on, including *IupFill*.
>>
>> But there is no IupGLtext control so how can I have that as a child of
>> the IupGLCanvasbox?
>>
>> Thanks,
>> Milind
>>
>>
>>
>> On Fri, Aug 22, 2014 at 11:10 AM, Antonio Scuri <[email protected]
>> > wrote:
>>
>>>    Yes, it is. Using the new IupGLCanvasBox element of the new
>>> IupGLControls library.
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>>
>>> On Fri, Aug 22, 2014 at 2:45 PM, Milind Gupta <[email protected]>
>>> wrote:
>>>
>>>>  Hi,
>>>>        It would be great if we can have a text box with formatting that
>>>> can be placed on top of a canvas much like having IUPGLText. Is it possible
>>>> to have that? Is it possible to emulate it by overlapping the text box over
>>>> a canvas control if transparency is not required?
>>>>
>>>> Thanks,
>>>> Milind
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Slashdot TV.
>>>> Video for Nerds.  Stuff that matters.
>>>> http://tv.slashdot.org/
>>>> _______________________________________________
>>>> Iup-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Slashdot TV.
>>> Video for Nerds.  Stuff that matters.
>>> http://tv.slashdot.org/
>>> _______________________________________________
>>> Iup-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to