• 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: Disable "Show Fonts..." menu item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable "Show Fonts..." menu item?


  • Subject: Re: Disable "Show Fonts..." menu item?
  • From: Todd Ransom <email@hidden>
  • Date: Wed, 24 May 2006 14:04:06 -0600

If you are in a text view and you press cmd-t and the Font Panel pops up, what do you expect it to do when you change the font?

Todd Ransom
Return Self Software
http://returnself.com



On May 24, 2006, at 1:33 PM, Mike Abdullah wrote:

I'm not sure you'd want to. If you think about it, the user could bring the Font panel up from a text field that does allow it and then just move to editing this other text view. So logically, there is no point in disabling the menu at any time.

Mike.

On 24 May 2006, at 19:52PM, Todd Ransom wrote:

Is there any way to disable the "Show Fonts..." menu item for a particular text view? The menu item is hooked up to the shared NSFontManager instance so I cannot override validateMenuItem:. So even though I have setUsesFontPanel: NO for my text view my users don't use that and pressing cmd-t shows a font panel that does not work. As a matter of fact, you will notice that you can pop up the font panel at any time in any Cocoa that has this menu item, even though in many cases it does nothing.

Is there any way to disable this menu item short of hooking it up to First Responder and dealing with it on a case by case basis?

Todd Ransom
Return Self Software
http://returnself.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


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
  • Follow-Ups:
    • Re: Disable "Show Fonts..." menu item?
      • From: Mike Abdullah <email@hidden>
References: 
 >Disable "Show Fonts..." menu item? (From: Todd Ransom <email@hidden>)
 >Re: Disable "Show Fonts..." menu item? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: RE: IB: subclassing NSAnimation problem
  • Next by Date: (no subject)
  • Previous by thread: Re: Disable "Show Fonts..." menu item?
  • Next by thread: Re: Disable "Show Fonts..." menu item?
  • Index(es):
    • Date
    • Thread