Add Menu.closePopup API on macOS
This commit is contained in:
parent
947556a23f
commit
6a023dc4fe
8 changed files with 48 additions and 11 deletions
|
@ -55,6 +55,7 @@ class Menu : public mate::TrackableObject<Menu>,
|
|||
|
||||
virtual void PopupAt(Window* window, int x, int y, int positioning_item,
|
||||
bool async) = 0;
|
||||
virtual void ClosePopupAt(int32_t window_id) = 0;
|
||||
|
||||
std::unique_ptr<AtomMenuModel> model_;
|
||||
Menu* parent_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue