Re: Toolbar item with submenu
Re: Toolbar item with submenu
- Subject: Re: Toolbar item with submenu
- From: Matt Gemmell <email@hidden>
- Date: Sun, 4 Jan 2004 16:23:40 +0000
On Jan 4, 2004, at 3:39 pm, Philippe Robin wrote:
I am trying to mimic XCode's toolbar button that have a triangle in
their bottom right corner and a menu attached to them, such as the
build button, where a short click does the normal action and a longer
click brings the menu.
It does not seam to be native cocoa... any pointer?
I wrote some code to do something like that, and Eric Wang wrote
another version based on my code. You can get both versions from my
Cocoa source code page:
<
http://iratescotsman.com/products/source/>
Mine is called PopUpImage, and Eric's is called ImagePopUpButton. Try
his first, because it's newer and makes a few improvements.
Cheers,
-Matt
--
Matt Gemmell
Irate Scotsman
http://iratescotsman.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.