logo       

Is there a tandard way to attach context menus: msg#00180

lang.smalltalk.squeak.beginners

Subject: Is there a tandard way to attach context menus

Hello all,

is there a standard way to attach a context menu to a morph?

It's fairly easy to do by checking for yellowButtonPressed and
manually firing up a MenuMorph.

But it is sufficient to implement #addCustomMenuItems:hand: to get an
enhanced Halo menu while #addYellowButtonMenuItemsTo:event: and
#hasYellowButtonMenu don't help.

So is there a predefined way without everybody doing his own?

Thanks,


Herbert mailto:herbertkoenig@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise