Example: Multiple Windows #224
Labels
A-other
Area: Other, does not fit neatly into any of the other buckets
example
help wanted
Extra attention is needed
The Revery API supports creating multiple Windows via multiple calls to
App.createWindow
:revery/src/Core/App.re
Line 39 in 78811ec
I'd like to have an example that exercises this behavior. The example could consist of a single Button labeled "New Window". When clicked,
App.createWindow
would be called with a new Window with a very simple primitive (like, just a<Text />
saying "This is Window X")There is one blocker to this:
glfwCreateWindow
wrapper doesn't support this - we'd need to also add an API for thisglfwCreateWindow
API with an additional argument for passing a window context, we can pass/share the context w/ theApp.createWindow
. The consumer of the API should never have to care about 'Window Context Sharing' - we should take care of that automatically.The text was updated successfully, but these errors were encountered: