Allow positioning the context menu
This commit is contained in:
parent
03f19bea6b
commit
46e6b5ec3e
7 changed files with 40 additions and 5 deletions
|
@ -55,6 +55,7 @@ class Menu : public mate::Wrappable,
|
|||
|
||||
virtual void AttachToWindow(Window* window);
|
||||
virtual void Popup(Window* window) = 0;
|
||||
virtual void PopupAt(Window* window, int x, int y) = 0;
|
||||
|
||||
scoped_ptr<ui::SimpleMenuModel> model_;
|
||||
Menu* parent_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue