mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 20:11:29 +11:00
98701d0b32
* refactor(gtk): accept a container param instead of creating it * fix build * fix clippy
427 B
427 B
muda |
---|
minor |
Changed Menu::init_for_gtk_window
to accept a second argument for the 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 the method so it can be used as the container for the menu bar.