• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Toolbar item with submenu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Toolbar item with submenu (From: Philippe Robin <email@hidden>)

  • Prev by Date: Re: Document based app problems
  • Next by Date: Re: Toolbar item with submenu
  • Previous by thread: Toolbar item with submenu
  • Next by thread: Re: Toolbar item with submenu
  • Index(es):
    • Date
    • Thread