baseview icon indicating copy to clipboard operation
baseview copied to clipboard

Handling window creation failures

Open robbert-vdh opened this issue 2 years ago • 0 comments

I feel like open_parented()/open_as_if_parented()/open_blocking() should return a Result<WindowHandle/()>. Right now there's no way to handle window creation failures, and baseview will just panic if anything goes wrong. That's especially important when creating OpenGL contexts. If baseview would return an error, you would be able to try a couple different settings until you find something that works on the current system.

robbert-vdh avatar Mar 16 '22 11:03 robbert-vdh