Re: Monu Buttons
Re: Monu Buttons
- Subject: Re: Monu Buttons
- From: SA Dev <email@hidden>
- Date: Thu, 9 Jun 2005 16:10:37 -0400
On Jun 9, 2005, at 3:51 PM, Thomas Davie wrote:
Am I missing something stunningly obvious, or is there no built in
control for the cross between button and menu that is usually used
for an action menus?
Spectacularly so. ;-) For simplicity, you can use a borderless
NSPopupButton and simply set the image to whatever 'action button
widget' image you want. Set the alt image to a shaded version.
If you want the menu to line up precisely according to your taste,
you'll need to use an NSButton and a separate NSMenu and just show
the menu when the button is clicked, etc.
I'm happy with the former solution for most of my needs. Others
like to make it extra pretty and the latter solution is what I see
suggested the most - though I admit I have never tried it myself ...
because I'm a lazy, lazy man.
_______________________________________________
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
References: | |
| >Monu Buttons (From: Thomas Davie <email@hidden>) |