<toolbar>

This element defines a toolbar. This element must be closed. You can create toolbars with images-only, images and text, or text-only by altering the image and text attributes of <item> elements nested inside the <toolbar> element.

Attribute Value
name String, "Standard"
dockposition String, "top", "bottom", "left", "right", "float"
  • Top. Docks the toolbar on the top of the desktop.
  • Bottom. Docks the toolbar on the bottom of the desktop.
  • Left. Docks the toolbar on the left side of the desktop.
  • Right. Docks the toolbar on the right side of the desktop.
  • Float. Floats the toolbar over the desktop.

Examples

Several examples are provided below.

  1. The following example shows how to define a <toolbar> element.
          <toolbar name="Standard" dockposition="top"></toolbar>
  2. The following example shows how to create a floating toolbar containing select commands.
          <toolbar name="Select">
             <popup name="&Select">
                <item name="Activate &Select Mode" guid="{1F91F897-F612-46D4-A453-4B81096121A9}" text="false" image="true"/>
                <item name="Activate &Nelect Mode" guid="{1F91F897-F612-46D4-A453-4B81096121A9}" text="false" image="true"/>
                <separator/> 
                <item name="Activate Select + &Faces" guid="{1F91F8DB-F612-46D4-A453-4B81096121A9}" text="false" image="true"/> 
                <item name="Activate Select + &Edges" guid="{1F91F8DA-F612-46D4-A453-4B81096121A9}" text="false" image="true"/> 
                <item name="Activate Select + &Vertices" guid="{1F91F8D9-F612-46D4-A453-4B81096121A9}" text="false" image="true"/> 
                <separator/> 
                <item name="Activate Select + &Light" guid="{1F91F8D4-F612-46D4-A453-4B81096121A9}" text="false" image="true"/>
                <item name="Activate Select + &Handle" guid="{1F9323D4-F612-46D4-A453-4B81096121A9}" text="false" image="true"/>
                <separator/> 
             </popup>
          <toolbar/>
  3. The following example shows the resulting toolbar. This is the Select Toolbar.