We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58166d commit 29a7e2dCopy full SHA for 29a7e2d
cocoa/src/appkit.rs
@@ -1087,6 +1087,7 @@ pub trait NSWindow: Sized {
1087
unsafe fn convertRectFromScreen_(self, rect: NSRect) -> NSRect;
1088
1089
// Accessing Edited Status
1090
+ unsafe fn isDocumentEdited(self) -> BOOL;
1091
unsafe fn setDocumentEdited_(self, documentEdited: BOOL);
1092
1093
// Managing Titles
@@ -1670,6 +1671,10 @@ impl NSWindow for id {
1670
1671
1672
1673
1674
+ unsafe fn isDocumentEdited(self) -> BOOL {
1675
+ msg_send![self, isDocumentEdited]
1676
+ }
1677
+
1678
unsafe fn setDocumentEdited_(self, documentEdited: BOOL) {
1679
msg_send![self, setDocumentEdited:documentEdited]
1680
}
0 commit comments