• 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: Disclosure triangle ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disclosure triangle ?


  • Subject: Re: Disclosure triangle ?
  • From: Eric Peyton <email@hidden>
  • Date: Wed, 27 Jun 2001 10:42:57 -0500

On Wednesday, June 27, 2001, at 06:26 AM, Stiphane Sudre wrote:

Where is the Disclosure Triangle button type in the IB inspector for NSButton ?

There is not a Disclosure Triangle in IB yet.

Make a regular button.

Set it to Square or Rounded Bevel Button.
Set it to borderless.
Set it to Toggle.
Add a icon and a alt icon of the disclosure triangle images (grabbed form some other application).
Hook up the button to your controller to send a message.
In the message, do what you need to disclose or display.


I'm trying to find how to make a disclosure triangle but:
- the widget in itself does not seem to exist.

Nope.


- it's not possible to use the toggle button type, the behavior is not consistent with the one of a disclosure triangle.
Why not?

- checkbutton type would suit if I was able to switch the alternate and usual image but it's not possible.


You could subclass/categorize and make it possible.

Since I recently discovered that one of the Control type I thought was missing could be made from a NSPopUpButton, I'm wondering if I'm not missing something here again.

Or is using a disclosure triangle not recommending by the HI guidelines ?

I believe it is in the HI guidelines.

Eric

_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Disclosure triangle ? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: MacOSX-dev digest, Vol 1 #904 - 22 msgs
  • Next by Date: Re: NSTask and NSPipe
  • Previous by thread: Re: Disclosure triangle ?
  • Next by thread: Re: Disclosure triangle ?
  • Index(es):
    • Date
    • Thread