Home | History | Annotate | Download | only in macosx

Lines Matching refs:menuItem

107     NSMenuItem *menuItem;
114 while ((menuItem = [enumerator nextObject]))
116 aRange = [[menuItem title] rangeOfString:@"SDL App"];
118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]];
119 if ([menuItem hasSubmenu])
120 [self fixMenu:[menuItem submenu] withAppName:appName];
130 NSMenuItem *menuItem;
146 menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"];
147 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)];
158 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""];
159 [menuItem setSubmenu:appleMenu];
160 [[NSApp mainMenu] addItem:menuItem];
167 [menuItem release];
175 NSMenuItem *menuItem;
180 menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"];
181 [windowMenu addItem:menuItem];
182 [menuItem release];