<?xml version="1.0"?>
<ui>
  <menubar name="MainMenu">
    <menu action="FileMenu">
      <menuitem action="New"/>
      <menuitem action="Open"/>
      <menuitem action="AddStaffs"/>
      <menuitem action="AddMovements"/>

	<menu action="OpenRecent">
           <menuitem action="Stub"/>
	</menu>
      <menuitem action="OpenTemplate"/>
      <menuitem action="OpenExample"/>
      <menuitem action="OpenMyTemplate"/>
      <menuitem action="NewWindow"/>
      <menuitem action="OpenNewWindow"/>
		<separator/>
      <menuitem action="Save"/>
      <menuitem action="SaveAs"/>
      <menuitem action="SaveParts"/>
		<!-- <menuitem action="SaveSelection"/> -->
      <menuitem action="SaveTemplate"/>
      	<!-- <menuitem action="ExportPDF"/>  -->
      <separator/>
      <menuitem action="ConfigureScore"/> 
      <separator/> 
      <menuitem action="Print"/>
      <menuitem action="PrintPreview"/>
      <menuitem action="PrintExcerptPreview"/>
      <menuitem action="PrintPart"/>
      <menuitem action="PrintSelection"/>
      <separator/>
      <menuitem action="Close"/>
      <menuitem action="Quit"/>
    </menu>
    <menu action="NavigationMenu">
      <menu action="Bookmarks">
      </menu>
      <menu action="Cursor">
	<menuitem action="MoveCursorLeft"/>
	<menuitem action="CursorDown"/>
	<menuitem action="CursorUp"/>
	<menuitem action="MoveCursorRight"/>
	<separator/>
	<menu action="CursorToNote">
	  <menuitem action="MoveToA"/>
	  <menuitem action="MoveToB"/>
	  <menuitem action="MoveToC"/>
	  <menuitem action="MoveToD"/>
	  <menuitem action="MoveToE"/>
	  <menuitem action="MoveToF"/>
	  <menuitem action="MoveToG"/>
	</menu>
	
	<separator/>
	<menuitem action="MoveToStaffUp"/>
	<menuitem action="MoveToStaffDown"/>

        <menuitem action="MoveToVoiceUp"/>
	<menuitem action="MoveToVoiceDown"/>
	<separator/>
	<menuitem action="MeasureLeft"/>
	<menuitem action="MeasureRight"/>
	<menuitem action="GoToMeasure"/>
	<menuitem action="MoveToBeginning"/>
	<menuitem action="MoveToEnd"/>

	<menuitem action="GoToMark"/>

	<separator/>
	
	<menuitem action="PushPosition"/>
	<menuitem action="PopPosition"/>
	<menuitem action="PopPushPosition"/>
      </menu> 
      
      
    </menu>


    <menu action="EditMenu">
      <separator/>
      <menu action="Select">
         <menuitem action="SetMark"/>
	 <menuitem action="SetPoint"/>
	 <menu action="ExtendSelect">
	        <menuitem action="CursorLeft"/>
                <menuitem action="CursorRight"/>
		<menuitem action="MeasureLeft"/>
		<menuitem action="MeasureRight"/>
		<menuitem action="GoToBeginning"/>
		<menuitem action="GoToEnd"/>
		<menuitem action="StaffUp"/>
		<menuitem action="StaffDown"/> 
		<menuitem action="VoiceUp"/>
		<menuitem action="VoiceDown"/>
         </menu>
	 <menuitem action="UnsetMark"/>
	<menuitem action="SwapPointAndMark"/>
      </menu>
      <menuitem action="Cut"/>
      <menuitem action="Copy"/>
      <menuitem action="Paste"/>

      
     <menuitem action="PasteClipboard"/>
      <separator/>
      <menuitem action="DeletePreviousObject"/>
      <separator/>
      <menuitem action="EditObject"/>
	   <separator/>
      <menuitem action="Preferences"/>
      <menu action="KeyBindings">
        <menuitem action="QuickEdits"/>
        <menuitem action="SaveAccels"/>

        <menuitem action="CommandManagement"/>
      </menu>
        <separator/>
      <menuitem action="ClearOverlay"/>
      <menuitem action="ExecuteScheme"/>
    </menu>
    <menu action="ViewMenu">
      <menuitem action="ToggleReduceToDrawingArea"/>
      <menuitem action="TogglePrintView"/>
      <menuitem action="ToggleLyricsView"/>
      <menuitem action="ToggleConsoleView"/>
      <menuitem action="ToggleRhythmToolbar"/>
      <menuitem action="ToggleEntryToolbar"/>
      <menuitem action="ToggleToolbar"/>
      <menuitem action="TogglePlaybackToolbar"/>
      <menuitem action="ToggleMidiInToolbar"/>
      <menuitem action="ToggleArticulationPalette"/>
      <menuitem action="ToggleScoreTitles"/>
      <menuitem action="ToggleObjectMenu"/>
      <menuitem action="ToggleLilyText"/>
      <menuitem action="ToggleScript"/>
      <menuitem action="ToggleScoreView"/>
    </menu>
    <menu action="ModeMenu">
      <menuitem action="Modeless"/>
      <menuitem action="InsertMode"/>
      <menuitem action="EditMode"/>
      <menuitem action="ClassicMode"/>
	<separator/>
      <menuitem action="Note"/>
      <menuitem action="Blank"/>
      <menuitem action="Rest"/>

	<separator/>
      <menuitem action="ToggleEdit"/>
      <menuitem action="ToggleRest"/>

	<separator/>
      <menuitem action="Rhythm"/>
      <menuitem action="RecordScript"/>
    </menu>

    <menu action="InputMenu">
      <menuitem action="KeyboardOnly"/>
      <menuitem action="JackMidi"/>
      <menuitem action="Microphone"/>
     	<separator/>
	<menuitem action="SharpenEnharmonicSet"/>
	<menuitem action="FlattenEnharmonicSet"/>

    </menu> 

    <menu action="PlaybackMenu">
      <menuitem action="Play"/>
      <menuitem action="Stop"/>
      <!--		<menuitem action="PlayALSA"/> -->
      <!-- <menuitem action="PlayCSound"/>  -->
       <!-- <menuitem action="PlaybackProperties"/> -->
    </menu>
    <menu action="MoreMenu">
      <menuitem action="MoreCommands"/>
      <menuitem action="MyCommands"/>
      <menuitem action="FetchCommands"/>
    </menu>
    <menu action="HelpMenu">
      <menuitem action="Help"/>
      <menuitem action="About"/>
    </menu>
  </menubar>



  

<menubar name="ObjectMenu">
     <menu action="Score">
            <menuitem action="ScoreProperties"/>
	    <menuitem action="EditScoreDirective"/>
	    
     </menu>


    <menu action="MovementMenu">
       <menuitem action="EditMovementDirective"/>

      <menu action="InsertMovement">
        <menuitem action="NewMovement"/>
        <menuitem action="InsertMovementBefore"/>
	<menuitem action="InsertMovementAfter"/>
      </menu>
	<menuitem action="DeleteMovement"/>
	<separator/>
       <menuitem action="PreviousMovement"/>
       <menuitem action="NextMovement"/>

             <separator/>
       <menuitem action="AddMovements"/>
       <menuitem action="SwapMovements"/>

    </menu>

    <menu action="StaffMenu">
      <menuitem action="StaffProperties"/>
      <menuitem action="EditStaffDirective"/>
      <menuitem action="EditVoiceDirective"/>
      
      <menu action="InsertStaff">
        <menuitem action="AddBefore"/>
	<menuitem action="AddAfter"/>
        <menuitem action="AddInitial"/>
 	<menuitem action="AddLast"/>	
        <menuitem action="AddStaffs"/> 
      </menu>
      <menuitem action="AddVoice"/>
      <menu action="Delete">
        <menuitem action="DeleteBefore"/>
	<menuitem action="DeleteStaff"/>
	<menuitem action="DeleteAfter"/>
      </menu> 
          <menuitem action="SwapStaffs"/>
          <menuitem action="SplitVoices"/>
          <menuitem action="JoinVoices"/>
          <menuitem action="MoveToStaffUp"/>
          <menuitem action="MoveToStaffDown"/> 
          <menuitem action="MoveToVoiceUp"/>
	  <menuitem action="MoveToVoiceDown"/> 
    </menu>

    <menu action="ClefMenu">
        <menuitem action="InitialClef"/>
        <menuitem action="InsertClef"/>
    </menu>

    <menu action="Key">
        <menuitem action="InitialKey"/>
        <menuitem action="InsertKey"/>
    </menu>

    <menu action="TimeSig">
        <menuitem action="InitialTimeSig"/>
        <menuitem action="InsertTimeSig"/>
    </menu>


    <menu action="MeasureMenu">

      <menuitem action="MoveToMeasureLeft"/>
      <menuitem action="MoveToMeasureRight"/>
      <menuitem action="GoToMeasure"/>
      <separator/>
      <menuitem action="InsertMeasure"/>
      <menuitem action="AddMeasure"/>
      <menuitem action="InsertMeasureBefore"/>
      <menuitem action="InsertMeasureAfter"/>
      <menuitem action="AppendMeasure"/>
      <menuitem action="AppendMeasureAllStaffs"/>
      <menuitem action="DeleteMeasureAllStaffs"/>
      <menuitem action="DeleteMeasure"/>
      <separator/>
      <menu action="DisplayEffects">
	<menuitem action="ShrinkMeasures"/>
	<menuitem action="WidenMeasures"/>
      </menu>
    </menu>
    
    <menu action="ChordMenu">
      <menu action="ChordNoteMenu">
	<menuitem action="AddA"/>
	<menuitem action="AddB"/>
	<menuitem action="AddC"/>
	<menuitem action="AddD"/>
	<menuitem action="AddE"/>
	<menuitem action="AddF"/>
	<menuitem action="AddG"/>
      </menu>
      <menuitem action="AddNoteToChord"/>

      <menuitem action="RemoveNoteFromChord"/>
      <menu action="Directives">
	<menuitem action="AttachLilyToChord"/>
      </menu>
      
      <menu action="Markings">
	<menu action="Dynamics">
	  <menuitem action="InsertDynamic"/>
	  <menuitem action="ToggleStartCrescendo"/>
	  <menuitem action="ToggleEndCrescendo"/>
	  <menuitem action="ToggleStartDiminuendo"/>
	  <menuitem action="ToggleEndDiminuendo"/>
	</menu>
	
	<menu action="Slurs">
	  <menuitem action="ToggleBeginSlur"/>
	  <menuitem action="ToggleEndSlur"/>
	</menu>
	<menu action="Articulations">
	  <menuitem action="ToggleStaccato"/>
	  <menuitem action="ToggleStaccatissimo"/>
	  <menuitem action="ToggleTenuto"/>
	  <menuitem action="ToggleAccent"/>
	</menu>	
	<menu action="Ornaments">
	  <menuitem action="ToggleFermata"/>
	  <menuitem action="ToggleTrill"/>
	  <menuitem action="ToggleTurn"/>
	  <menuitem action="ToggleMordent"/>
	  <menuitem action="TogglePrallMordent"/>
	  <menuitem action="TogglePrallPrall"/>
	  <menuitem action="TogglePrall"/>
	  <menuitem action="ToggleReverseTurn"/>	  
	  <menuitem action="ToggleUpprall"/>
	  <menuitem action="ToggleArpeggio"/>
	  <menuitem action="ToggleGrace"/>
        </menu>

        <menu action="TextMarks">
	  <menuitem action="ToggleSegno"/>
	  <menuitem action="ToggleCoda"/>
	  <menuitem action="ToggleFermata"/>
        </menu>
	
	<menu action="ChordSymbols">
	  <menuitem action="EditChords"/>
	</menu>
	<menu action="FiguredBass">
	  <menuitem action="EditFiguredBass"/>
	  <menuitem action="DeleteFiguredBass"/>
	  <menuitem action="HideFiguredBass"/>
	</menu>
      </menu>
    </menu>




    <menu action="NotesRests">  
 
        <menu action="EditNote">
	  
	  <menuitem action="A"/>
	  <menuitem action="B"/>
	  <menuitem action="C"/>
	  <menuitem action="D"/>
	  <menuitem action="E"/>
	  <menuitem action="F"/>
	  <menuitem action="G"/>
          <menuitem action="InsertTiedNote"/>
	  <menuitem action="OctaveUp"/>
          <menuitem action="OctaveDown"/>
	  <menuitem action="Sharpen"/>
	  <menuitem action="Flatten"/>
        </menu>
      <menu action="InsertNote">
	<menuitem action="InsertA"/>
	<menuitem action="InsertB"/>
	<menuitem action="InsertC"/>
	<menuitem action="InsertD"/>
	<menuitem action="InsertE"/>
	<menuitem action="InsertF"/>
	<menuitem action="InsertG"/>
      </menu>

	<menu action="EditDuration">
	  
	  <menuitem action="0"/>
	  <menuitem action="1"/>
	  <menuitem action="2"/>
	  <menuitem action="3"/>
	  <menuitem action="4"/>
	  <menuitem action="5"/>
	  <menuitem action="6"/>
	  <menuitem action="7"/>
	  
	  <menuitem action="AddDot"/>
	  <menuitem action="RemoveDot"/>
	  <menuitem action="InsertRhythm"/>	
	</menu>
      
	<menu action="ChangeDuration">
	  <menuitem action="Change0"/>
	  <menuitem action="Change1"/>
	  <menuitem action="Change2"/>
	  <menuitem action="Change3"/>
	  <menuitem action="Change4"/>
	  <menuitem action="Change5"/>
	  <menuitem action="Change6"/>
	  <menuitem action="Change7"/>
       	  <menuitem action="AddDot"/>
	  <menuitem action="RemoveDot"/>          
        </menu>
      <menu action="RestEntry">
        <menuitem action="InsertWholeRest"/>
	<menuitem action="InsertHalfRest"/>
	<menuitem action="InsertQuarterRest"/>
	<menuitem action="InsertEighthRest"/>
	<menuitem action="InsertSixteenthRest"/>
	<menuitem action="InsertThirtysecondRest"/>
	<menuitem action="InsertSixtyfourthRest"/>
	
	<separator/>
	<menuitem action="InsertBlankWholeNote"/>
	<menuitem action="InsertBlankHalfNote"/>
	<menuitem action="InsertBlankQuarterNote"/>
	<menuitem action="InsertBlankEighthNote"/>
	<menuitem action="InsertBlankSixteenthNote"/>
	<menuitem action="InsertBlankThirtysecondNote"/>
	<menuitem action="InsertBlankSixtyfourthNote"/>
	<menuitem action="InsertBlankOneHundredTwentyEighthNote"/>

      </menu>	  	  


      <menu action="SelectDuration">
	  <menuitem action="Set0"/>
	  <menuitem action="Set1"/>
	  <menuitem action="Set2"/>
	  <menuitem action="Set3"/>
	  <menuitem action="Set4"/>
	  <menuitem action="Set5"/>
	  <menuitem action="Set6"/>
	  <menuitem action="Set7"/>
	  <menuitem action="NextRhythm"/> 	  
      </menu>


      <menu action="Delete">
	<menuitem action="Cut"/>
	<menuitem action="DeleteObject"/>
	<menuitem action="DeletePreviousObject"/>
      </menu>
      <menu action="Slurs">
	<menuitem action="ToggleBeginSlur"/>
	<menuitem action="ToggleEndSlur"/>
      </menu>
      <menu action="TiedNotes">
        <menuitem action="ToggleTie"/>
        <menuitem action="InsertTiedNote"/>
      </menu>
      <menu action="NoteheadControl">
        <menuitem action="ChangeNotehead"/>
      </menu>
      <menu action="StemControl">
	<menuitem action="InsertStem"/>
 	<menuitem action="StemDown"/>
	<menuitem action="StemUp"/>
      </menu>
      <menu action="Tuplets">
	<menuitem action="InsertDuplet"/>
	<menuitem action="InsertTriplet"/>
	<menuitem action="StartTriplet"/>
	<menuitem action="EndTuplet"/>
	<menuitem action="InsertQuadtuplet"/>
	<menuitem action="InsertQuintuplet"/>
	<menuitem action="InsertSextuplet"/>
	<menuitem action="InsertSeptuplet"/>
      </menu>
      
      
      <menu action="GraceNotes">
	<menuitem action="ToggleGrace"/>
      </menu>
      
      <menu action="Markings">
	<menu action="Articulations">
	  <menuitem action="ToggleStaccato"/>
	  <menuitem action="ToggleStaccatissimo"/>
	  <menuitem action="ToggleTenuto"/>
	  <menuitem action="ToggleAccent"/>
	</menu>	
	<menu action="Ornaments">
	  <menuitem action="ToggleFermata"/>
	  <menuitem action="ToggleTrill"/>
	  <menuitem action="ToggleTurn"/>
	  <menuitem action="ToggleMordent"/>
	  <menuitem action="TogglePrallMordent"/>
	  <menuitem action="TogglePrallPrall"/>
	  <menuitem action="TogglePrall"/>
	  <menuitem action="ToggleReverseTurn"/>	  
	  <menuitem action="ToggleUpprall"/>
	  <menuitem action="ToggleArpeggio"/>
	  <menuitem action="ToggleGrace"/>
        </menu>
        <menu action="TextMarks">
	  <menuitem action="ToggleSegno"/>
	  <menuitem action="ToggleCoda"/>
	  <menuitem action="ToggleFermata"/>
        </menu>
	<menu action="Strings">
       	  <menuitem action="ToggleFlageolet"/>
	  <menuitem action="ToggleStopped"/>
	  <menuitem action="ToggleThumb"/>
	  <menuitem action="ToggleOpen"/>	  
	</menu>
      </menu>
      <menu action="Directives">
	<menuitem action="AttachLilyToNote"/>
      </menu>
    </menu>  <!-- notes/rests object menu -->


    <menu action="Directives">
      <menuitem action="InsertLilyDirective"/>	  
    </menu>

    <menu action="Lyrics">
         <menuitem action="AddVerse"/>
         <menuitem action="DeleteVerse"/>
	 <menuitem action="ToggleLyricsView"/>
    </menu>

 </menubar>   


 



  <toolbar name="ToolBar">
  	<toolitem action="New"/>
  	<toolitem action="ConfigureScore"/>
    <toolitem action="Open"/>
    <toolitem action="Save"/>
    <separator/>
    <toolitem action="Print"/>
    <toolitem action="PrintPreview"/>
    <separator/>

    <toolitem action="Cut"/>
    <toolitem action="Copy"/>

    <separator/>
	 <!--<toolitem action="GoToMeasure"/> -->
    <toolitem action="MoveToBeginning"/>
    <toolitem action="MoveToEnd"/>
  </toolbar>
 
  <toolbar name="EntryToolBar">
           <!--<toolitem action="AddDot"/>-->
	   <!--<toolitem action="RemoveDot"/>-->
  </toolbar>
  <toolbar name="RhythmToolBar">
    <toolitem action="CreateRhythm"/>
    <toolitem action="DeleteRhythm"/>
  </toolbar>

<!--
 Popup menus for the LilyPond text view
  -->
  <popup name="LilyMenu">
      <menuitem action="LilyToggleShow"/>
  </popup>
  <popup name="LilyScoreblockMenu">
      <menuitem action="LilyToggleShow"/>
      <menuitem action="LilyCreateCustom"/>
  </popup>
  <popup name="LilyCustomScoreblockMenu">
      <menuitem action="LilyToggleShow"/>
      <menuitem action="LilyDelete"/>
  </popup>
<!--
 Popup menus for edit object
  -->

  <popup name="InitialClefEditPopup">
     <menuitem action="InitialClef"/>
     <menuitem action="EditClefDirective"/>
  </popup>
  <popup name="InitialKeyEditPopup">
     <menuitem action="InitialKey"/>
     <menuitem action="EditKeysigDirective"/>
  </popup>
  <popup name="InitialTimeEditPopup">
     <menuitem action="InitialTimeSig"/>
     <menuitem action="EditTimesigDirective"/>
  </popup>
  <popup name="ClefEditPopup">
     <menuitem action="InsertClef"/>
  </popup>
  <popup action="ScorePopup">
            <menuitem action="ScoreProperties"/>
	    <menuitem action="EditScoreDirective"/>	    
  </popup>

  <popup action="StaffMenuPopup">
      <menuitem action="StaffProperties"/>
      <menuitem action="EditStaffDirective"/>
      <menuitem action="EditVoiceDirective"/>
   </popup>

  <popup name="KeyEditPopup">
     <menuitem action="InsertKey"/>
     <menuitem action="EditKeysigDirective"/>
  </popup>
  <popup name="TimeEditPopup">
     <menuitem action="InsertTimeSig"/>
     <menuitem action="EditTimesigDirective"/>
  </popup>

  <popup name="NoteEditPopup">
      <menu action="EditDirectivesMenu">
        <menuitem action="EditDirective"/>
        <menuitem action="DeleteDirective"/>
      </menu>

      <menu action="ChangeNote">
        <menuitem action="ChangeToA"/>
	<menuitem action="ChangeToB"/>
	<menuitem action="ChangeToC"/>
	<menuitem action="ChangeToD"/>
	<menuitem action="ChangeToE"/>
	<menuitem action="ChangeToF"/>
	<menuitem action="ChangeToG"/>
	<menuitem action="Sharpen"/>
	<menuitem action="Flatten"/>
	<menuitem action="StemDown"/>
	<menuitem action="StemUp"/>
      </menu>

	   <menu action="ChangeDuration">
	      <menuitem action="Change0"/>
	      <menuitem action="Change1"/>
	      <menuitem action="Change2"/>
	      <menuitem action="Change3"/>
	      <menuitem action="Change4"/>
	      <menuitem action="Change5"/>
	      <menuitem action="Change6"/>
	      <menuitem action="Change7"/>
       	      <menuitem action="AddDot"/>
	      <menuitem action="RemoveDot"/>
           </menu>
     <menu action="Slurs">
	<menuitem action="ToggleBeginSlur"/>
	<menuitem action="ToggleEndSlur"/>
    </menu>
    <menuitem action="ToggleTie"/>


  </popup>

  <popup name="StemControlPopup">
 	          <menuitem action="StemDown"/>
	          <menuitem action="StemUp"/>
  </popup>

</ui>
