muda/.changes/gtk-optional-container.md

6 lines
453 B
Markdown
Raw Normal View History

---
"muda": "minor"
---
2023-07-28 03:07:55 +10:00
**Breaking Change**: Changed `Menu::init_for_gtk_window` to accept a second argument for a container to which the menu bar should be added, if `None` was provided, it will add it to the window directly. The method will no longer create a `gtk::Box` and append it to the window, instead you should add the box to the window yourself, then pass a reference to it to the method so it can be used as the container for the menu bar.