• 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
Separator bar in NSMenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Separator bar in NSMenu


  • Subject: Separator bar in NSMenu
  • From: Alun Carp <email@hidden>
  • Date: Mon, 10 Nov 2003 17:44:12 +0000

I have a dynamic dock menu which at the moment looks quite cluttered:

About
Help
Manager Tool
Transfer Tool
Preferences
Activate
--------------
(Standard dock menu items)

I inserted separators to group similar items:

About
Help

Manager Tool
Transfer Tool

Preferences

Activate
--------------
(Standard dock menu items)

The [NSMenu separatorItem] method returns a menu item which is basically a blank space that does nothing used to separate menu items. My dock menu items are separated from the standard dock menu items by a horizontal bar, I would like my separator to look like this too:

About
Help
--------------
Manager Tool
Transfer Tool
--------------
Preferences
--------------
Activate
--------------
(Standard dock menu items)

I have searched the help, and the archives at mamasam and can't find any reference to changing the separatorItem behaviour.

Can anyone help?

Thanks


Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
_______________________________________________
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: Separator bar in NSMenu
      • From: Bartlomiej Cichosz <email@hidden>
    • Re: Separator bar in NSMenu
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: How to make Array of NSString
  • Next by Date: Re: DataSource class of NSTableView - weird
  • Previous by thread: Re: How to make Array of NSString
  • Next by thread: Re: Separator bar in NSMenu
  • Index(es):
    • Date
    • Thread