FROM : Francisco Tolmasky
DATE : Sun May 11 22:19:32 2008
I am wanting to implement my own custom inline font chooser in a text
application I am writing, but am not sure how I should be hooking up
to NSFontManager. I know that I should setSelectionFont:isMultiple:
on the font manager when the text changes within my text controls, but
I don't know how my custom font UI is supposed to pick up on these
changes. It appears that NSFontManager speaks directly to the font
panel and menu without sending any notification or anything. Is this
the case? Or is there a way to be notified when the selection font
has changed?
Thanks,
Francisco
DATE : Sun May 11 22:19:32 2008
I am wanting to implement my own custom inline font chooser in a text
application I am writing, but am not sure how I should be hooking up
to NSFontManager. I know that I should setSelectionFont:isMultiple:
on the font manager when the text changes within my text controls, but
I don't know how my custom font UI is supposed to pick up on these
changes. It appears that NSFontManager speaks directly to the font
panel and menu without sending any notification or anything. Is this
the case? Or is there a way to be notified when the selection font
has changed?
Thanks,
Francisco
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

