How to hide the pull down menu bar

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

Post Reply
User avatar
mmiscool
Posts: 63
Joined: Sun Dec 18, 2016 9:07 pm
Location: Connecticut
Contact:

How to hide the pull down menu bar

Post by mmiscool » Sun Jan 05, 2020 2:08 pm

Hello,

I attempted to find a setting or a code option to hide the menu bar that normally appears at the top of the free cad window that shows the standard drop down menus.

If any one has a bit of python code to make this thing disappear I would really appreciate it.

-Mike
My main project is https://autodrop3d.com
Working on https://github.com/mmiscool/FC-Docker FreeCAD for cloud with browser based access.
mario52
Posts: 2806
Joined: Wed May 16, 2012 2:13 pm

Re: How to hide the pull down menu bar

Post by mario52 » Sun Jan 05, 2020 2:21 pm

Maybe you need a special feature, go into Macros_recipes and Code_snippets, Dialog creation. My macros on Gist.github.
User avatar
mmiscool
Posts: 63
Joined: Sun Dec 18, 2016 9:07 pm
Location: Connecticut
Contact:

Re: How to hide the pull down menu bar

Post by mmiscool » Sun Jan 05, 2020 2:26 pm

The drop down menus at the very top. Need to make them disappear.
untitled (3).png
untitled (3).png (116.64 KiB) Viewed 145 times
My main project is https://autodrop3d.com
Working on https://github.com/mmiscool/FC-Docker FreeCAD for cloud with browser based access.
User avatar
mmiscool
Posts: 63
Joined: Sun Dec 18, 2016 9:07 pm
Location: Connecticut
Contact:

Re: How to hide the pull down menu bar

Post by mmiscool » Sun Jan 05, 2020 2:31 pm

Never mind. Figured it out.

Code: Select all

Gui.getMainWindow().menuBar().hide()
My main project is https://autodrop3d.com
Working on https://github.com/mmiscool/FC-Docker FreeCAD for cloud with browser based access.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest