You can see an example of a .menu file in . In this example, the top level menu is named Applications, which is specified using the lt;Namegt; element. The Applications menu contains a single submenu, but several submenus are allowed. Each submenu may also have an lt;Includegt; element. The purpose of the lt;Includegt; element is to perform a filter on the set of available desktop entries using matching rules.
.menu fitxategien adibide bat dago hemen: . Adibide horretan, Applications izena du maila goreneko menuak, eta lt;Namegt; elementuaren bidez zehazten da. Applications menuan azpimenu bakar bat dago, baina bat baino gehiago egon daitezke. Azpimenu bakoitzak lt;Includegt; elementua izan dezake. Parekatze-arauak erabiliz mahaigaineko sarrera erabilgarrien multzoa iragaztea da lt;Includegt;(r)en helburua.