Re: Disclosure Triangle Icon
Re: Disclosure Triangle Icon
- Subject: Re: Disclosure Triangle Icon
- From: Shawn Erickson <email@hidden>
- Date: Thu, 19 Feb 2004 16:31:10 -0800
Looking at it in IB I believe it is using NSMomentaryLightButton. I
haven't tried it in code myself... who knows. I would count this as an
example of not have good enough docs on the subject. File a doc defect.
-Shawn
On Feb 19, 2004, at 4:25 PM, Shawn Erickson wrote:
From the docs...
NSDisclosureBezelStyle
A bezel style for use with a disclosure triangle. To create the
disclosure triangle, set the button bezel style to
NSDisclosureBezelStyle and the button type to NSOnOffButton. Available
for Mac OS X v10.3 or later.
On Feb 19, 2004, at 3:51 PM, Ryan Bates wrote:
New in 10.3 (I believe) you can add a disclosure button using
Interface Builder. However, I couldn't find anything in the
documentation or the header files, so is Interface Builder doing
something special here or is there a "secret" NSButton type that can
be set?
Ryan
On Feb 19, 2004, at 2:27 PM, Bjvrn Carlstrvm wrote:
Hi
I have my own custom view where it would be suitable to let the user
expand or hide some information. I believe a Disclosure Triangle
would be the ideal user interface. Is there a way to draw this
standard icon? Or should I use an NSButton? (There might be hundreds
of these in my view, so i fear the overhead.)
Any ideas?
Bjvrn
_______________________________________________
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.
_______________________________________________
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.