[][src]Derive Macro appkit_derive::WindowWrapper

#[derive(WindowWrapper)]

Derivces an appkit::prelude::WinWrapper block, which implements forwarding methods for things like setting the window title, or showing and closing it. It currently expects that the wrapped struct has window as the field holding the Window from appkit-rs.

Note that this expects that pointers to Window(s) should not move once created.