alejandroautalan / pygubu-designer

A simple GUI designer for the python tkinter module
GNU General Public License v3.0
803 stars 98 forks source link

add menu support to the code generator #103

Closed matecsaj closed 2 years ago

matecsaj commented 2 years ago

In the options part of the code generator, please add a drop-down for selecting the initial menu widget, if any.

When running the code generator on menu.ui, it would be helpful if the init dunder included the following line. self.mainwindow.configure(menu=self.builder.get_object('mainmenu', self.mainwindow))

After doing so, update the relevant wiki page and menu examples.

alejandroautalan commented 2 years ago

Completed in latest version.