Re: Changing fonts without font menu?
Re: Changing fonts without font menu?
- Subject: Re: Changing fonts without font menu?
- From: Fredrik Olsson <email@hidden>
- Date: Thu, 08 Jun 2006 16:48:42 +0200
Fredrik Olsson skrev:
Having a NSFontManager and handling font changes from a standard font
menu is easy. But is there a way to hook up buttons to make text
bold/unbold?
I can not get sending addFontTrait actions to work, and the
documentation I have found only speaks of hooking up menus manually,
not other controls.
Perhaps a viable solution would be to add bold: and italic: methods to
the NSTextView class?
And if so, how would I best implement that in a way that mimics what
underline: does for toggling underlining?
// Fredrik Olsson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden