Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow creation of child window #93

Closed
k-brac opened this issue Nov 24, 2016 · 2 comments
Closed

allow creation of child window #93

k-brac opened this issue Nov 24, 2016 · 2 comments
Labels
S - enhancement Wouldn't this be the coolest?

Comments

@k-brac
Copy link
Contributor

k-brac commented Nov 24, 2016

It would be nice if we could create child window.
I can see 2 features :

  • use of the safe rust API (mostly already existing)
  • unsafe API for FFI

-> I am experimenting in developing a plugin in rust and I would like to use for example conrod for GUI but the host application only gives me a void * as a parent window.

This change would allow me (and others) to embed their rust development into other applications.

If you think this is interesting I can look into this issue (for windows at least)

Since winit is already using CreateWindowEx I think it is just a matter of API design.
I don't know how this works for other platforms.

@tomaka tomaka added the S - enhancement Wouldn't this be the coolest? label Nov 24, 2016
@tomaka
Copy link
Contributor

tomaka commented Nov 24, 2016

This needs to be done for Servo anyway.
Since the concept of a parent window doesn't exist everywhere, it must be done with the platform-specific builder.

@k-brac k-brac mentioned this issue Nov 28, 2016
jrmuizel pushed a commit to jrmuizel/winit that referenced this issue Mar 29, 2017
Update gdi32-sys and user32-sys to 0.2

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/glutin/93)
<!-- Reviewable:end -->
@francesca64
Copy link
Member

Closing in light of #96 + #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S - enhancement Wouldn't this be the coolest?
Development

No branches or pull requests

3 participants