• 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
Whence comes the "Disclosure Triangle" in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Whence comes the "Disclosure Triangle" in Cocoa?


  • Subject: Whence comes the "Disclosure Triangle" in Cocoa?
  • From: "l.m.orchard" <email@hidden>
  • Date: Thu, 26 Jul 2001 01:51:38 -0400

Okay, I'm still working on making a toggleable expanding/shrinking window.
I've seen it done with the Save panel (using a blue Aqua-y button), with
the Classic startup (using a black twisty arrow in the lower left corner),
and now I've noticed it in the Software Updater (also using a black twisty
arrow in the LL corner).

I just browsed through the Aqua HI Guidelines and find that it's called a
"disclosure triangle". And the example of the save dialog is mentioned.
And it mentions that "Disclosure triangles are available to Carbon
developers through the Control Manager (CreateDisclosureTriangle) or the
Appearance Manager (DrawThemeButton)." But I see no mention of it in
Cocoa. Should it actually not be used in Cocoa apps?

So far I'm thinking I have to roll my own. I already rolled my own window
expand-and-reveal/hide-and-contract method, so I now need to roll my own
rotating arrow? Though I'm a newbee, this feels like wheel-reinvention.
Though I haven't found it, seems like this needs to be a special subclass
of NSWindow or something, since it seems to be a common UI element
alongside Drawers and Sheets. It should have some Interface Builder
support.

Any advice?

--
Leslie Michael Orchard <email@hidden>
ICQ: 492905 (home) 11082089 (work)
"...see you space cowboy..."


  • Prev by Date: Re: Objective-C++
  • Next by Date: Re: How is @selector resolved at compile time ?
  • Previous by thread: Re: How is @selector resolved at compile time ?
  • Next by thread: Getting and Setting insertion point
  • Index(es):
    • Date
    • Thread