Re: NSMenu on click of a button
Re: NSMenu on click of a button
- Subject: Re: NSMenu on click of a button
- From: Eamon Ford <email@hidden>
- Date: Sun, 12 Feb 2006 12:43:38 -0800
You can use NSPopUpButtonCell's setArrowPosition: method, and pass it
NSPopUpNoArrow to get rid of the arrows.
On Feb 12, 2006, at 12:39 PM, Alan Smith wrote:
Okay, heres the plan. I want to have a button that when clicked
once, pops
up a menu, like the dock does except you don't have to hold the
mouse down
to see the menu. I don't want it to be a NSPopupButton, or whatever
it's
called, because it would stiil have those little arrows next to it,
even
when borderless. If there is a way to get rid of the arrows I would
be able
to do this VERY easily.
I messed around with NSViews setMenu but that is only displayed if
you right
click. I want it to be left click.
Thanks in advance, Alan
_______________________________________________
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
_______________________________________________
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