Closed zbaylin closed 3 years ago
After further investigation, here are the things left that don't (and won't, on macOS at least) work:
@bryphe let me know if I need to change anything else, or if you have any questions about anything I have already!
This does a couple main things:
NSView
class similar to that created forNSObject
in #1023Native.Input.Button
module that houses the basic functions to render a buttonNode
(similar to anImageNode
)NativeButtonNode
in aNativeButton
nativeComponent
cleanup
function to theNode
classNSButtons
from the view once they are removed. Before, when a child was removed,setParent(None)
was called on the child. However, if you have a basic view hierarchy likeRoot -> Example -> [Buttons]
and theExample
is removed, we have to notify all the children that they have been removed too.