[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parent of a menu
From: |
Josh Freeman |
Subject: |
Re: parent of a menu |
Date: |
Fri, 8 Sep 2017 01:07:29 -0400 |
GNUstep's NSMenu.h declares some public GS-specific NSMenu methods
for popup buttons (GNUstepExtra category):
- (BOOL) _ownedByPopUp;
- (NSPopUpButtonCell *)_owningPopUp;
- (void) _setOwnedByPopUp: (NSPopUpButtonCell*)popUp;
However, unlike the other GNUstepExtra category methods, the above
methods all have an underscore prefix - does that mean they're for
internal use only?
Josh
On Sep 7, 2017, at 6:55 PM, Riccardo Mottola wrote:
Hi all,
to "fix" a behaviour in the WinUX Theme I think I need to know if a
menu is part of a NSPopUpButton.
But how can I know this?
The supermenu appears to be null! I habe only the item and the menu,
how can I determine that it is coming from a popupbutton (obviously
I don't know all popupbuttons displayed, as some Cocoa tips&tricks
suggest to do)..
Riccardo
_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev
- parent of a menu, Riccardo Mottola, 2017/09/07
- Re: parent of a menu,
Josh Freeman <=