NSFontPanel act on it's own accessory view?
NSFontPanel act on it's own accessory view?
- Subject: NSFontPanel act on it's own accessory view?
- From: Nik Sands <email@hidden>
- Date: Wed, 26 May 2004 14:36:23 +1000
Currently, when my application wants the user to be able to edit some
default text attributes, it opens a window containing some default
text, and the shared font panel, [NSFontPanel sharedFontPanel].
What I would like to do is to have the default text appear within a
view that is added to the shared font panel as it's accessory view (ie,
[[NSFontPanel sharedFontPanel setAccessoryView:defaultTextView]).
However, when I try this, anything the user does in the font panel has
no effect on the selected text in the accessory view.
Is it possible to achieve what I'm after? If so, can somebody explain
to me how?
Thanks in anticipation,
Nik.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.