mirror of
https://github.com/VibeDarling/darling-appkit.git
synced 2026-11-15 09:38:46 -10:00
30 lines
625 B
Objective-C
30 lines
625 B
Objective-C
#import <AppKit/NSWindow.h>
|
|
|
|
@class NSCloseCommand;
|
|
@class NSScriptCommand;
|
|
|
|
@interface NSWindow(NSScripting)
|
|
|
|
|
|
- (BOOL)hasCloseBox;
|
|
- (BOOL)hasTitleBar;
|
|
- (BOOL)isFloatingPanel;
|
|
- (BOOL)isMiniaturizable;
|
|
- (BOOL)isModalPanel;
|
|
- (BOOL)isResizable;
|
|
- (BOOL)isZoomable;
|
|
- (NSInteger)orderedIndex;
|
|
|
|
|
|
- (void)setIsMiniaturized:(BOOL)flag;
|
|
- (void)setIsVisible:(BOOL)flag;
|
|
- (void)setIsZoomed:(BOOL)flag;
|
|
- (void)setOrderedIndex:(NSInteger)index;
|
|
|
|
|
|
- (id)handleCloseScriptCommand:(NSCloseCommand *)command;
|
|
- (id)handlePrintScriptCommand:(NSScriptCommand *)command;
|
|
- (id)handleSaveScriptCommand:(NSScriptCommand *)command;
|
|
|
|
@end
|