<separator>

This element defines a horizontal separator between <item> groups in a <popup> or <contextmenu> and a vertical separator between commands in a <toolbar>.

Attribute Value
none none

Examples

Several examples are provided below.

  1. The following example shows how to define a <separator> element.
    <separator/>
  2. The following example shows how to create a popup with a separator between the commands.
    <menu name="Menu Bar">
       <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>
    </menu>
             
  3. The following example shows the resulting popup menu with horizontal separators. This is a popup menu.
  4. The following example shows how to create a 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/>
             
  5. The following example shows the toolbar with vertical separators. This is the select toolbar.