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
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev