Location: PHPKode > scripts > Menu Bar Generator > menu-bar-generator/menudef.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE menubar SYSTEM "menudef.dtd">

<menubar>
	<menu display="_File" id="file" icon="icon1.jpg" tearoff="false">
		<item display="_Open" icon="Gtk::STOCK_OPEN" id="open" />
		<item display="_Save" icon="Gtk::STOCK_SAVE" id="save" />
		<item display="_Close" icon="Gtk::STOCK_CLOSE" id="close" />

		<separator />

		<item display="_Quit" icon="Gtk::STOCK_QUIT" id="quit" />
	</menu>

	<menu display="_Edit" id="edit" tearoff="true">
		<item display="_Cut" icon="Gtk::STOCK_CUT" id="cut" />
		<item display="C_opy" icon="Gtk::STOCK_COPY" id="copy" />
		<item display="_Paste" icon="Gtk::STOCK_PASTE" id="paste" />

		<separator />
		<menu display="Submenu" id="submenu" icon="icon1.jpg" tearoff="true">
			<item display="SubmenuItem" id="submenuitem" icon="icon1.jpg" />
		</menu>

		<item display="_MyPersonaItem" icon="icon1.jpg" id="personal" />
	</menu>
</menubar>
Return current item: Menu Bar Generator