Re: "Pressed" toolbar Items
Re: "Pressed" toolbar Items
- Subject: Re: "Pressed" toolbar Items
- From: j o a r <email@hidden>
- Date: Tue, 28 May 2002 16:00:35 +0200
You need to create your own NSToolbarItem subclass in which you provide
your own view / button that understands, remembers, and knows how to
draw "pushed" states.
You will have to think about how to implement a corresponding state for
the "text only" toolbar display mode. Perhaps you could applend the
string "active" / "inactive" to the menuFormRepresentation title
depending on the pushed state of the item.
j o a r
On Tuesday, May 28, 2002, at 03:26 PM, Cristian Savu wrote:
In the "old style" interfaces, a toolbar item can be pressed and he
keeps
the "pressed state" look.
How can I do the same thing using COCOA (and complying with Aqua
guidelines, of couse)? I've checked NSToolbarItem and
NSToolbar but I didn't find any "Is pressed" or "Is checked" methods.
_______________________________________________
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.