Hi Paul, On Wed, May 14, 2008 at 5:16 PM, Paul Melis <[EMAIL PROTECTED]> wrote: > Here is an update to the osgviewerWX example. Keyboard events were not > always received because the GraphicsWindowWX wasn't receiving focus. It now > receives focus when the mouse enters the window.
I'm glad you updated the example, however I have just one little remark regarding the focus: wouldn't it be surprising in a general purpose GUI that a window (that is, our OSG window) capture the focus when the mouse cursor just hovers it ? In my app, I make a distinction between "focusing" events and "non focusing" events. Mouse clicks give the focus, mouse moves don't. That would make the graphics window behave like other widgets in the GUI. Cheers Thibault _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
