mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Added some new MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10920 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d31bc8fb0
commit
de3dff439b
2 changed files with 34 additions and 0 deletions
|
@ -112,6 +112,10 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
|
|||
- (void) activateIgnoringOtherApps: (BOOL)flag;
|
||||
- (void) deactivate;
|
||||
- (BOOL) isActive;
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (void) hideOtherApplications: (id)sender;
|
||||
- (void) unhideAllApplications: (id)sender;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Running the event loop
|
||||
|
@ -129,6 +133,19 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
|
|||
- (void) stopModal;
|
||||
- (void) stopModalWithCode: (int)returnCode;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (int) runModalForWindow: (NSWindow *)theWindow
|
||||
relativeToWindow: (NSWindow *)docWindow;
|
||||
- (void) beginSheet: (NSWindow *)sheet
|
||||
modalForWindow: (NSWindow *)docWindow
|
||||
modalDelegate: (id)modalDelegate
|
||||
didEndSelector: (SEL)didEndSelector
|
||||
contextInfo: (void *)contextInfo;
|
||||
- (void) endSheet: (NSWindow *)sheet;
|
||||
- (void) endSheet: (NSWindow *)sheet
|
||||
returnCode: (int)returnCode;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Getting, removing, and posting events
|
||||
*/
|
||||
|
|
|
@ -70,6 +70,23 @@
|
|||
- (int)runModalForDirectory:(NSString *)path
|
||||
file:(NSString *)name
|
||||
types:(NSArray *)fileTypes;
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
- (int)runModalForDirectory:(NSString *)path
|
||||
file:(NSString *)name
|
||||
types:(NSArray *)fileTypes
|
||||
relativeToWindow:(NSWindow*)window;
|
||||
- (void)beginSheetForDirectory:(NSString *)path
|
||||
file:(NSString *)name
|
||||
types:(NSArray *)fileTypes
|
||||
modalForWindow:(NSWindow *)docWindow
|
||||
modalDelegate:(id)delegate
|
||||
didEndSelector:(SEL)didEndSelector
|
||||
contextInfo:(void *)contextInfo;
|
||||
|
||||
- (NSArray *)URLs;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
#endif // _GNUstep_H_NSOpenPanel
|
||||
|
|
Loading…
Reference in a new issue