• 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: NSToolbar like IB's Palettes Toolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar like IB's Palettes Toolbar


  • Subject: Re: NSToolbar like IB's Palettes Toolbar
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 1 Mar 2004 10:11:21 +0100

Am 01.03.2004 um 06:44 schrieb Mijobee:

Is there a better way to get
the same mutual exclusion + look and feel as the toolbar in the
palette's window

If you are talking about the toolbar items being selectable, there is a new toolbar delegate method in 10.3:

-----------------
toolbarSelectableItemIdentifiers:

- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar

Returns an array of item identifiers that should indicate selection in the specified toolbar. Toolbars that need to indicate item selection should return an array containing the identifiers of the selectable toolbar items.

If implemented, toolbar will display the currently selected item with a visual highlight. Clicking on an item whose identifier is selectable will automatically update the toolbars selected item identifier, when possible.

Implementation of this method is optional.

Availability

Available in Mac OS X v10.3 and later.

See Also:  setSelectedItemIdentifier:
-----------------


Andreas
_______________________________________________
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: NSToolbar like IB's Palettes Toolbar
      • From: Mijobee <email@hidden>
References: 
 >NSToolbar like IB's Palettes Toolbar (From: Mijobee <email@hidden>)

  • Prev by Date: Re: Controller introspection API
  • Next by Date: Re: NSDecimalNumber and 10.2.x: is this bug a secret?
  • Previous by thread: Re: NSToolbar like IB's Palettes Toolbar
  • Next by thread: Re: NSToolbar like IB's Palettes Toolbar
  • Index(es):
    • Date
    • Thread