Replies: 2 comments 3 replies
-
You can try this:trackball->setViewpoint(lookAt,0.5); |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is a window manager behavior, to grap focus we'd need to add a call into each of the Window sub classes to add support for grabbing focus. I haven't looked into how to do this with Xcb, Win32 or MacOS, if others have experience on of doing it let us know how to do it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have added the following keyboard bindings to my
trackball
to the vsgbuilder.cpp example:The keyboard bindings works great after I have pressed the mouse in the viewport once. My question is how can I get the keyboard focus set in the widget immediately after creation, i.e. without the need to focus the window by clicking in it?
Beta Was this translation helpful? Give feedback.
All reactions