alejandroautalan / pygubu-designer

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

Creating a drop down menu #190

Closed dakilla-ctrl closed 1 year ago

dakilla-ctrl commented 1 year ago

I am trying to create a dropdown menu. Its done but I cant' generate the code. I get the prompt to generate widget. I tried to generate widget but the option is blank. I also tried adding a frame as a root for the menu widget but it turns out the menu widget doesn't fit in any container. pls help. screenshots below Screenshot (60) Screenshot (62)

alejandroautalan commented 1 year ago

Hello @dakilla-ctrl thanks for trying pygubu. The code generation template considers that menues will be associated with a toplevel container. Therefore go to Containers tab and just add a Toplevel widget.

Regards Alejandro A.

dakilla-ctrl commented 1 year ago

Thank you @alejandroautalan for responding so fast. It worked, I was able to generate the code