The children in the glcanvasbox are designed to be placed as embedded
controls, so they will not be affected by the scrollbar. The scrollbar is
free to be used by what's being draw on the canvas, like a 3D model.
If you want to use it in that way then you will need to configure your
virtual world properly and when scroll_cb is called, to move the children
of the glcanvasbox.
Best,
Scuri
On Mon, Aug 25, 2014 at 4:48 PM, Milind Gupta <[email protected]>
wrote:
> Hi,
> I am trying to use the scrollbar on the glcanvas box. I did
> scrollbar="YES" when creating it. I don't have a scroll_cb defined. The
> Scroll bar shows up but the scroll action does seem to be scroll the
> canvasbox. My controls (I have a text box in there) remain stationery.
> How can I get the scrolling action to work? I have attached my
> test script.
>
> 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