RE: NSToolbarItem with pull down menu
RE: NSToolbarItem with pull down menu
- Subject: RE: NSToolbarItem with pull down menu
- From: Keith Blount <email@hidden>
- Date: Wed, 2 Aug 2006 02:54:23 -0700 (PDT)
Hi,
I recently created an NSToolbarItem subclass that
should do just what you want. You can download
KBPopUpToolbarItem from my website at:
http://www.literatureandlatte.com/freestuff
It is designed to act just like the ones in Xcode -
click on it once for an action, or hold it down for
half a second to bring up a menu. Other than adding
the menu to it, you implement it just like any other
toolbar item.
>From Fredrik's post, it sounds as though I went about
it slightly differently to the Camino guys (I based it
on code I found in the CocoaBuilder archives), but it
works. :)
Hope that helps.
All the best,
Keith
--- ORIGINAL MESSAGE ---
Can anybody give me a clue as to where to find
information on how to
create a toolbar item with a pulldown menu (like those
in Xcode,
Pages, etc.)?
I've googled everything I can think of, and can't find
a thing.
Zef
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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