• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing fonts without font menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing fonts without font menu?


  • Subject: Re: Changing fonts without font menu?
  • From: Aki Inoue <email@hidden>
  • Date: Thu, 8 Jun 2006 13:52:28 -0700

Frederick,

What I want to do is to let a NSButton wotk the same way as for example
the "Bold"-menu item that is "provided for free" with the Format-menu,
or the Font-menu.
I just tried in IB hooking up a button sending -addFontTraits: to NSFontManager, and it works expectedly.
Note the button tag needs to be set to 2 the bold font trait.


Aki
_______________________________________________
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


  • Follow-Ups:
    • Re: Changing fonts without font menu?
      • From: Fredrik Olsson <email@hidden>
References: 
 >RE: Changing fonts without font menu? (From: "Mradul Mandhanya" <email@hidden>)
 >Re: Changing fonts without font menu? (From: Fredrik Olsson <email@hidden>)

  • Prev by Date: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Next by Date: Re: NSComboBox -- How do I limit user typing to what is in the list
  • Previous by thread: Re: Changing fonts without font menu?
  • Next by thread: Re: Changing fonts without font menu?
  • Index(es):
    • Date
    • Thread