I’m trying to build a cross-platform GH plug-in. It builds nicely on mac under the WIP, but the Grasshopper.Instances.EtoDocumentEditor property is missing on windows. I’m trying to set the owner of an Eto window to be the GH editor - the line of code is this:
HuiWindow.Owner = Grasshopper.Instances.EtoDocumentEditor;
Is there something else I can do, say inside a compile conditional? I tried some stuff with the eto window’s NativeHandle property but couldn’t figure it out. Or, maybe better, can this property be made accessible in a windows build?