On 09/06/2011, at 17:06, Quincey Morris wrote:
> On Jun 9, 2011, at 12:51, Siegfried wrote:
>
>> From the other items, I just need to retrieve their tags so I didn't connect
>> the action on the popup as it was an ivar already, and just created a
>> specific action for the "Cusom" item.
>
> Is
On Jun 9, 2011, at 12:51, Siegfried wrote:
> From the other items, I just need to retrieve their tags so I didn't connect
> the action on the popup as it was an ivar already, and just created a
> specific action for the "Cusom" item.
Is there any reason not to use a specific tag for the custom
On 09/06/2011, at 16:40, Quincey Morris wrote:
> On Jun 9, 2011, at 11:43, Siegfried wrote:
>
>> …
>
> If the "Custom" item is just one of the popup's items (that is, there's no
> submenu involved)
No there isn't, but:
> then IIRC the popup button will be the sender, not the menu item.
Actua
On Jun 9, 2011, at 11:43, Siegfried wrote:
> Does anyone know if there is a way to get a pointer for the NSPopUpButton
> containing a NSMenu containing a NSMenuItem, which is the IBAction sender?
>
> I have multiple similar popups, and all of them have a "Custom…" menu item,
> designated to hid
Does anyone know if there is a way to get a pointer for the NSPopUpButton
containing a NSMenu containing a NSMenuItem, which is the IBAction sender?
I have multiple similar popups, and all of them have a "Custom…" menu item,
designated to hiding the popup and bringing more controls to the user.