Start on app menus
This commit is contained in:
parent
dffe0ea058
commit
631e264e3c
8 changed files with 272 additions and 116 deletions
|
@ -662,7 +662,7 @@ impl MacWindow {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn main_window() -> Option<AnyWindowHandle> {
|
||||
pub fn active_window() -> Option<AnyWindowHandle> {
|
||||
unsafe {
|
||||
let app = NSApplication::sharedApplication(nil);
|
||||
let main_window: id = msg_send![app, mainWindow];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue