Hi Matt,

The GraphcisWindowEmbedded can only resize the Cameras attached to it,
it can't resize the actual window you are embedding it in.  It doesn't
even know about your window, its the other way around, if you want to
resize this window you'll need to do this in your own app.

The GraphicsWindow::resized(..) method is purely for getting the
window to update its Cameras in response to a window that is resized.

The non embedded subclasses from GraphicsWindow have a
setWindowRectangle(...) method that you can use to resize the window.
But GraphicsWindowEmbedded doesn't support this, and will never be
able to as its totally disconnected from the original window.

Robert.

On 6/7/07, Matthew D. Plumlee <[EMAIL PROTECTED]> wrote:
Hi all,

   I'm having a bear of a time trying to get my embedded window to
resize (by calling resized(...) or resizedImplementation(...) directly,
rather than through the callback mechanism...something to do with not
having any _traits I think), and I'm assuming this is probably something
that's come up before.  However, I seem to have to use Google to get any
searches on the archives to return anything newer than about September
2004 (hard to tell, because the sorting by time doesn't seem to be
sorting by the time the message was actually posted, but some other date
that is always 11/??/04).  Anyone else run into this issue with the
e-mail archives?

--Matt P.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to