• 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: Mijobee <email@hidden>
  • Date: Tue, 2 Mar 2004 00:11:17 -0500

Yes, that's exactly the look and feel I'm looking for. I don't think I can limit the compatibility to 10.3 however. How would something like this best be implemented? When I referred to mutual exclusion I was referring the behavior a group of radio buttons has, only one can be selected at a time, and there is a visual cue as to which is currently selected. Refer to the palattes window in Interface Builder.

-
email@hidden
<xinjen/>
On Mar 1, 2004, at 4:11 AM, Andreas Mayer wrote:

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

  • Prev by Date: RE:Can't complete drop operation...
  • Next by Date: Re: cocoa-dev digest, Vol 2 #3771 - 16 msgs
  • Previous by thread: Re: NSToolbar like IB's Palettes Toolbar
  • Next by thread: Re: NSToolbar like IB's Palettes Toolbar
  • Index(es):
    • Date
    • Thread