Le 8 juil. 2010 à 18:57, augusto callejas a écrit :
> yes i know its not a real menu, but given it mostly behaves like one,
> i was trying to use existing functionality without having to rewrite the
> menu-ing system.
As far as I know, you cannot use menu to do what you seek to achieve. You woul
On Jul 8, 2010, at 9:34 AM, augusto callejas wrote:
> i'm trying to replicate the functionality of spotlight using an embedded
> NSSearchField inside an NSMenu.
> when a search is performed, i add NSMenuItems to the NSMenu. when you
> perform a search in spotlight,
> the first search result is
On Thu, Jul 8, 2010 at 9:57 AM, augusto callejas
wrote:
> yes i know its not a real menu, but given it mostly behaves like one,
> i was trying to use existing functionality without having to rewrite the
> menu-ing system.
Given that you're going to want to do a significant amount of custom
work,
yes i know its not a real menu, but given it mostly behaves like one,
i was trying to use existing functionality without having to rewrite the
menu-ing system.
thanks,
augusto.
On Jul 8, 2010, at 9:38 AM, Graham Cox wrote:
>
> On 09/07/2010, at 2:30 AM, Augusto Callejas wrote:
>
>> i'm tryin
On 09/07/2010, at 2:30 AM, Augusto Callejas wrote:
> i'm trying to replicate the functionality of spotlight using an embedded
> NSSearchField inside an NSMenu.
> when a search is performed, i add NSMenuItems to the NSMenu. when you
> perform a search in spotlight,
> the first search result is
i'm trying to replicate the functionality of spotlight using an embedded
NSSearchField inside an NSMenu.
when a search is performed, i add NSMenuItems to the NSMenu. when you perform
a search in spotlight,
the first search result is highlighted and you can immediately use the up/down
arrows to
On 08/07/2010, at 11:00 AM, Kyle Sluder wrote:
> Does NSMenuItemCell match the appearance of menus on 10.5?
No. I noticed this in the docs just after posting: "Note: NSMenuItemCell is no
longer used to draw menus. Using it will not affect the appearance of your
menus."
Maybe the OP ought to
On Wed, Jul 7, 2010 at 5:29 PM, Graham Cox wrote:
> NSMenuItemCell inherits -setHighlighted: from NSCell
Does NSMenuItemCell match the appearance of menus on 10.5?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not pos
On 08/07/2010, at 3:47 AM, augusto callejas wrote:
> hi-
>
> i'd like to simplify my question from earlier:
>
> how do i programmatically highlight an NSMenuItem inside an NSMenu?
> i only see "isHighlighted" method in NSMenuItem, but no method for setting
> the currently highlighted menu item
hi-
i'd like to simplify my question from earlier:
how do i programmatically highlight an NSMenuItem inside an NSMenu?
i only see "isHighlighted" method in NSMenuItem, but no method for setting the
currently highlighted menu item.
thanks,
augusto.___
10 matches
Mail list logo