NSColorPicker question
NSColorPicker question
- Subject: NSColorPicker question
- From: Christopher Henrich <email@hidden>
- Date: Fri, 22 Aug 2003 12:37:17 -0400
I am developing an application which uses an NSColorPanel. I would
like to use the Color Panel supplied with the Developer Tools; but I
would like to make a small change in the interface.
When the user picks "Color Sliders", he is given a choice of four
different kinds of sliders (gray scale, RGB, CMYK, and HSB) by way of a
pop-up menu. The menu choices have key equivalents, cmd-1 through
cmd-4. I would like to turn off the key equivalents.
My difficulty is that I do not see, from the documentation of
NSColorPicker, how to get at that pop-up menu. Nor does the Interface
Builder have anything to say about Color Panels or Color Pickers (so
far as I have found out).
My current best guess is that I should go to the Color Panel, get its
contentView, and access the pop-up menu there. But it seems that I
need to know the tag of the menu.
Is there a righteous way that I can access the items in that menu?
TIA
Chris Henrich
_______________________________________________
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.