mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Merge pull request #15 from iamleeg/document-nswindowcontroller
Document methods I have recently used in NSWindowController
This commit is contained in:
commit
0f647519ac
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2018-03-29 Graham Lee <graham@iamleeg.com>
|
||||
|
||||
* Source/NSWindowController.m: gsdoc
|
||||
|
||||
2018-03-30 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSDocument.m (-revertToContentsOfURL:ofType:error:): Add
|
||||
|
|
|
@ -388,6 +388,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
/** Orders the receiver's window front, also making it the key window
|
||||
if appropriate. */
|
||||
- (IBAction) showWindow: (id)sender
|
||||
{
|
||||
NSWindow *window = [self window];
|
||||
|
@ -434,15 +436,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
/** Returns YES if the receiver's window has loaded. */
|
||||
- (BOOL) isWindowLoaded
|
||||
{
|
||||
return _wcFlags.nib_is_loaded;
|
||||
}
|
||||
|
||||
/** Subclasses can override this method to perform any customisation
|
||||
needed after the receiver has loaded its window. */
|
||||
- (void) windowDidLoad
|
||||
{
|
||||
}
|
||||
|
||||
/** Subclasses can override this method to perform any customisation
|
||||
needed before the receiver loads its window. */
|
||||
- (void) windowWillLoad
|
||||
{
|
||||
}
|
||||
|
@ -470,6 +477,11 @@
|
|||
[self windowDidLoad];
|
||||
}
|
||||
|
||||
/** Loads the receiver's window. You can override this method if the
|
||||
way that the window is loaded is not appropriate. You should not
|
||||
normally need to call this method directly; it will be called when
|
||||
the window controller needs to access the window.
|
||||
*/
|
||||
- (void) loadWindow
|
||||
{
|
||||
NSDictionary *table;
|
||||
|
|
Loading…
Reference in a new issue