discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding NSMenuItems/view to a window


From: Luis Garcia Alanis
Subject: Adding NSMenuItems/view to a window
Date: Sun, 29 Mar 2015 07:23:14 -0700

Hello,

I am having some trouble with an experiment I am performing.

I am trying to add 3 NSMenuItems to a custom view.

I create the NSMenuItem's and use the view method to extract the view and add it as a sub view of an NSView but nothing seems to happen, nothing gets displayed.

Is this even possible?

I wan to be able to click on these menu items and also to have the mouse hover effect when the mouse is on top of the items.

This is not a context menu, but rather a regular window containing the NSMenuItems.

Thanks
Luis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]