• 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
NSPopupButton and dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopupButton and dialog


  • Subject: NSPopupButton and dialog
  • From: "Marc Wan" <email@hidden>
  • Date: Thu, 30 Nov 2006 10:23:45 +0800

hello!

 I want to have an NSPopupButton show a dialog, sort of like in Safari's
preferences dialog where you can select a folder using such a control.  Now,
the question I have is what the "proper" way of going about this would be.
I'd like to create a subclassed DirectoryPopupButton that I can just plug
into various projects and not have to have some plumbing code in my
controller class.

 So, what would be the proper way for my NSPopupButton subclass to learn
that a menu item has been selected?  I suspect there is some basic event
processing thing i'm missing here .

 xiexie!
 marc.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSPopupButton and dialog
      • From: Michael Watson <email@hidden>
  • Prev by Date: Re: NSImage TIFFRepresentation memory leak
  • Next by Date: OSAtomic.h
  • Previous by thread: Re: Problems with NSArrayController and keyPath Operator
  • Next by thread: Re: NSPopupButton and dialog
  • Index(es):
    • Date
    • Thread