mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:50:39 +00:00
Added menu organization hooks
This commit is contained in:
parent
81b59ad0a0
commit
a9f33627f1
3 changed files with 29 additions and 0 deletions
|
@ -1531,6 +1531,18 @@ withRepeatedImage: (NSImage*)image
|
|||
- (NSString *) proposedTitle: (NSString *)title
|
||||
forMenuItem: (NSMenuItem *)menuItem;
|
||||
|
||||
/**
|
||||
* Used to determine whether or not the theme handles organizing the app's main
|
||||
* menu. The default implementation returns NO.
|
||||
*/
|
||||
- (BOOL) organizesMainMenu;
|
||||
|
||||
/**
|
||||
* Used by the theme to organize the main menu. The default implementation does
|
||||
* nothing, because it will never be called.
|
||||
*/
|
||||
- (void) organizeMainMenu: (NSMenu *)menu;
|
||||
|
||||
@end
|
||||
|
||||
@interface GSTheme (OpenSavePanels)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue