RE: Changing fonts without font menu?
RE: Changing fonts without font menu?
- Subject: RE: Changing fonts without font menu?
- From: "Mradul Mandhanya" <email@hidden>
- Date: Thu, 8 Jun 2006 19:59:51 +0530
- Thread-topic: Changing fonts without font menu?
>From IB you can do it easily by selecting the button title and selecting
the font attributes from font panel.
If want to do programmatically NSAttributedString may help u.
Regards,
Mradul
-----Original Message-----
From: cocoa-dev-bounces+mmandhanya=email@hidden
[mailto:cocoa-dev-bounces+mmandhanya=email@hidden] On
Behalf Of Fredrik Olsson
Sent: Thursday, June 08, 2006 5:58 PM
To: Cocoa-dev
Subject: Changing fonts without font menu?
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.
// 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
_______________________________________________
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