NSPopupButton and dialog
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