Re: Discloser triangle
Re: Discloser triangle
- Subject: Re: Discloser triangle
- From: cocoa learner <email@hidden>
- Date: Sun, 14 Jun 2009 10:37:00 +0600
Thnx kyle for ur response.But I found other way to do this. Here is how I am
achieving the task -
1>. Create a new NSRect with desired origin and size.
2>. Call setFrame:display:anumate of window member function.
And I am done.
Regards
Cocoa.learner.
On Fri, Jun 12, 2009 at 10:41 PM, Kyle Sluder <email@hidden> wrote:
> On Fri, Jun 12, 2009 at 2:16 AM, cocoa learner<email@hidden>
> wrote:
> > I do not understand how to achieve this effect.
>
> I'd wire up the disclosure triangle's target/action to a method on my
> window controller. Something like -[MyWindowController
> showAdvancedOptions:]. This method would in turn add the advanced
> options to the window (perhaps loading them from another nib) and
> would resize the window to give them room.
>
> --Kyle Sluder
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden