← Back to team overview

unity-dev team mailing list archive

menu bar understanding

 

Hello,

I'm trying to understand how the menu bar works. I would like to understand
how menus are "taken" from applications and rendered in Unity.

In PanelMenuView's constructor there is a reference to a variable named
"layout_". Where is that variable defined? In the header file there is a
(unused?) "_menu_layout".
The first line of the constructor says to render menu items aligned from
the left to the right. Where is the layout definition?

And could someone tell me where happens the population of this layout with
menu items?

Thank you,
Francesco

Follow ups