Example: Marking menu XML file

The following shows an example XML file for the Display marking menu. See also Edit marking menu XML files.

<markingMenus>

	<markingMenuTemplate name = "Display">

		<markingMenuItem
			name = "Toggle grid display"
			text = "North"
			position = "North"
			tooltip = ""
			icon = ""
			checkable = "true"/>

		<markingMenuItem
			name = "Flat lighting"
			text = "Northwest"
			position = "Northwest"
			tooltip = ""
			icon = ""
			checkable = "true"/>


		<markingMenu
			name = "Switch View"
			text = "East"
			position = "East"
			tooltip = ""
			icon = "">

			<markingMenuItem
				name = "Toggle Camera:Top"
				text = "North"
				position = "North"
				tooltip = ""
				icon = ""/>

			<markingMenuItem
				name = "Toggle Camera:Perspective"
				text = "West"
				position = "West"
				tooltip = ""
				icon = ""/>

			<markingMenuItem
				name = "Toggle Camera:Front"
				text = "South"
				position = "South"
				tooltip = ""
				icon = ""/>

			<markingMenuItem
				name = "Toggle Camera:Side"
				text = "East"
				position = "East"
				tooltip = ""
				icon = ""/>

		</markingMenu>

    <markingMenuItem
			name = "Toggle shading"
			text = "Northeast"
			position = "Northeast"
			tooltip = ""
			icon = ""
			checkable = "true"/>

    <overflowMenu>

      <menuItem
          name = "Toggle gradient background"
          text = "overflowMenu"
          tooltip = ""
          icon = ""
          checkable = "true"/>

      </overflowMenu>

    </markingMenuTemplate>

</markingMenus>

Related topics

Marking menus

Customize marking menus