cocoa: Enable modifying initialized menu
This commit is contained in:
parent
66bbf00b7a
commit
49ac363eef
2 changed files with 19 additions and 0 deletions
|
@ -39,6 +39,9 @@ class MenuModel;
|
|||
// to the contents of the model after calling this will not be noticed.
|
||||
- (id)initWithModel:(ui::MenuModel*)model;
|
||||
|
||||
// Populate current NSMenu with |model|.
|
||||
- (void)populateWithModel:(ui::MenuModel*)model;
|
||||
|
||||
// Programmatically close the constructed menu.
|
||||
- (void)cancel;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue