mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:40:50 +00:00
Update menu code and set menu on window creation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29373 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f59546bebf
commit
15de26b03c
5 changed files with 49 additions and 17 deletions
|
@ -984,10 +984,10 @@ withRepeatedImage: (NSImage*)image
|
|||
@end
|
||||
|
||||
@interface GSTheme (Menus)
|
||||
- (void) setMenu: (NSMenu *)menu
|
||||
forWindow: (NSWindow *)window;
|
||||
- (void) processCommand: (void *)context;
|
||||
- (void) setMenu: (NSMenu *)menu forWindow: (NSWindow *)window;
|
||||
- (void) processCommand: (void *)context;
|
||||
- (float) menuHeightForWindow: (NSWindow *)window;
|
||||
- (void) updateMenu: (NSMenu *)menu forWindow: (NSWindow *)window;
|
||||
@end
|
||||
|
||||
#endif /* OS_API_VERSION */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue