• 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: Subclassing NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSPopUpButton


  • Subject: Re: Subclassing NSPopUpButton
  • From: "Raglan T. Tiger" <email@hidden>
  • Date: Fri, 08 May 2015 11:41:51 -0600

> On May 8, 2015, at 10:55 AM, Kyle Sluder <email@hidden> wrote:
>
>  In that case, the menu is running the runloop in event-tracking mode and pulling events for its own purpose.


I create an NSMenu and populate it with NSMenuItem s and then set this menu to the NSPopUpButton.

Would it make sense to use a subclass of NSMenu for this menu ... i.e. would I get keyDown events in this subclass?


-rags
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Subclassing NSPopUpButton
      • From: Kyle Sluder <email@hidden>
References: 
 >Subclassing NSPopUpButton (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Subclassing NSPopUpButton (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Where and how do I know a save completed successfully?
  • Next by Date: Re: Subclassing NSPopUpButton
  • Previous by thread: Re: Subclassing NSPopUpButton
  • Next by thread: Re: Subclassing NSPopUpButton
  • Index(es):
    • Date
    • Thread