FROM : Jonathan del Strother
DATE : Sun Oct 31 18:17:16 2004
My Cocoa controller calls this in its init method:
[[NSFontManager sharedFontManager] setDelegate:self];
It later calls this when a button is pressed :
[[NSFontManager sharedFontManager] orderFrontFontPanel:self];
I have 2 delegate methods:
- (void)changeFont:(id)sender;
- (BOOL)fontManager:(id)theFontManager willIncludeFont:(NSString
*)fontName;
But they're both ignored - I don't seem to be receiving anything back
from the font panel.
Any ideas what I might be missing?
Thanks,
Jon
DATE : Sun Oct 31 18:17:16 2004
My Cocoa controller calls this in its init method:
[[NSFontManager sharedFontManager] setDelegate:self];
It later calls this when a button is pressed :
[[NSFontManager sharedFontManager] orderFrontFontPanel:self];
I have 2 delegate methods:
- (void)changeFont:(id)sender;
- (BOOL)fontManager:(id)theFontManager willIncludeFont:(NSString
*)fontName;
But they're both ignored - I don't seem to be receiving anything back
from the font panel.
Any ideas what I might be missing?
Thanks,
Jon
| Related mails | Author | Date |
|---|---|---|
| Jonathan del Strot… | Oct 31, 18:17 | |
| Andrew Thompson | Oct 31, 23:17 | |
| Jonathan del Strot… | Nov 1, 08:41 |






Cocoa mail archive

