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 .