• 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
How "Delete"_icon_as_a_menu_item_shortcut?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How "Delete"_icon_as_a_menu_item_shortcut?


  • Subject: How "Delete"_icon_as_a_menu_item_shortcut?
  • From: email@hidden
  • Date: Sat, 4 Jan 2003 22:42:40 +0100

El samedi, 4 janvier, 2003, a las 06:46 PM, Fridiric BLANC escribis:

It's still me Sorry & Thanks.

So, now, is there someone who knows how I can get the pretty backward delete icon found on the "Delete" menu item in Apple Mail? I searched everywhere in the docs w/o success. I only saw this isn't IB-based in Apple Mail - and so seems to be set in PB. But I only need the String constant to use as a parameter to the setKeyEquivalent() method.
Note: Yep, this is still for my Cocoa-Java-based app

\D is creating a shortcut which looks like this but with the Command sign.

So I guess that doing the following would work (even if the documentation is stating the contrary):

[myMenuItem setKeyEquivalent:@"\D"];
[myMenuItem setKeyEquivalentModifierMask:0];

I let you translate this in Java.

BTW, while investigating the Mail.app resources, I encountered the senders.tiff files. Easter egg?

P.S: your encoding is OOO.
_______________________________________________
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.

  • Follow-Ups:
    • Re: How "Delete"_icon_as_a_menu_item_shortcut?
      • From: Frédéric BLANC <email@hidden>
References: 
 >How? ("Delete" icon as a menu item shortcu t…) (From: Frédéric BLANC <email@hidden>)

  • Prev by Date: Re: drawer toggle
  • Next by Date: Checking OS Version with Cocoa
  • Previous by thread: Re: "Delete" icon as a menu item shortcut
  • Next by thread: Re: How "Delete"_icon_as_a_menu_item_shortcut?
  • Index(es):
    • Date
    • Thread