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

Application.Slim.* packages only provide blocking Run() methods #37

Open
haraldsteinlechner opened this issue Jul 31, 2019 · 1 comment

Comments

@haraldsteinlechner
Copy link
Member

haraldsteinlechner commented Jul 31, 2019

Currently we have multiple options for creating windows etc:

  • Aardvark.Application.WinForms which is net 47 based or
  • Aardvark.Application.Slim which runs in netstandard

For usage in F# interactive setups it is necessary to open the window without blocking FSI. here is an example.

Unfortunately the netcore (Slim) variants only provide blocking Run() methods for windows making them unusable for interactive setups.

IMO, what we would need here is:

  • window.Visible <- true methods for opening a window in a non-blocking manner
  • maybe a mechanism to hook FSI's message loop. this might be a good starting point.

With net471 this is all possible via SimpleRenderWindow, but a contribution here could lift also interactive support to pure netcore level.

@haraldsteinlechner haraldsteinlechner changed the title Application.Slim.* packages do not support SimpleRenderWindow Application.Slim.* packages only provide blocking Run() methods Aug 1, 2019
@EHotwagner
Copy link

This fsi event loop solution for alalonia.funcui might be relevant:
https://github.com/fwaris/AVLoop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants