WindowHandle for sending custom events to the window
DGriffin91 opened this issue · 2 comments
DGriffin91 commented
Is it possible to get this sort of functionality with imgui-baseview?
BillyDM commented
I believe that the build closure is called every frame, so you are able to pass your own message channel into the build closure and poll for messages yourself.
BillyDM commented
BTW baseview
recently got a new update that should fix issues with closing/opening plugin windows. Baseview now returns a WindowHandle
on the open_parented()
method, which you can then call window_handle.close()
on it when you receive an effEditClose
VST2 event to properly close the window.