Hans Baier schrieb: > Apart from that, one thing about GNUstep annoys me very much: > The absence of context menus. I don't know currently how OS X handles that, > but often I would find myself right-clicking on something, but the > application menu pops up.
The behaviour you describe is the one you find in most GNUstep applications, but this is because the application programmers decided to do so. In NSView you will find the following method: - (void) rightMouseDown: (NSEvent *) theEvent { NSMenu *m; m = [self menuForEvent: theEvent]; if (m) { [NSMenu popUpContextMenu: m withEvent: theEvent forView: self]; } else { [super rightMouseDown: theEvent]; } } This allows to display any menu (set via setMenu:) as the popup menu of the view. It is up to the application programmer to use or ignore this feature. Fred _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev