Disclosure Triangle
Disclosure Triangle
- Subject: Disclosure Triangle
- From: Björn Carlström <email@hidden>
- Date: Thu, 10 Feb 2005 16:28:56 +0100
Hi, I'm totally confused.
In my own subclass of NSView I expand and collapse parts. The proper
interface would be a disclosure triangle. I've created an instance of
NSButtonCell and set it up according to the docs. It draws where it
should I can resize it, change its title, disable it. But I can't
change its state! That is it doesn't matter what its state is NSOnState
or NSOffState, it draws the same closed triangle. The docs doens't tell
me if its setState: that changes who it draws the triangle, Has anybody
successfully managed to draw an disclosure triangle using NSButtonCell?
Thanks
Björn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden