Toolbars

Toolbars are one of main Notepad X features, basically they are fully customizable .xml files located at Toolbars directory located at Notepad X root path. Notepad X includes the MainMenu.xml toolbar file which is the default menu of Notepad X.

Installing

To install a toolbar copy your .xml plug-in file with all his decency folders, to “Toolbars” directory located at Notepad X root path (usually C:Program FilesNotepad X).

Then to activate it launch Notepad X , open the Options Dialog from Main Menu (Tools -> Options) , then select the Toolbars tab, your toolbar will appear automatically at the list located bellow. To Activate click the check box of your item then press the apply button to apply your changes.

Removing

To deactivate a toolbar launch Notepad X , open the Options Dialog from Main Menu (Tools -> Options) , then select the Toolbars tab. Uncheck the check box of your item , press the Remove button if you want to delete the toolbar file, then press the apply button to apply your changes.

Alternatively to delete a toolbar file delete, your .xml Toolbar file with all his decency folders, from “Toolbars” directory located at Notepad X root path (usually C:Program FilesNotepad X).

Developing

To create an toolbar file create a new .xml file and follow the basic structure of the Notepad X Toolbars


  
     
     
     
     
  

Enter your details for your toolbar.

Now to create items you can choose between the available item types

  • Button
  • Label
  • Dropdown
  • and

  • Spectator
  • Button

    Buttons are the basic button controls which can execute any of the available build-in functions.
    A typical button item example.


    button
    system|New
    system|new

    system|new

    Label

    The only difference between labels and buttons is that Button can be pressed and execute functions. Labels are mostly use display text and images at the toolbar.
    A typical label item example.

    
        label
        system|About
        
        system|about
      
    

    Specator

    They doesn’t have any parameters the only use to separate visually the other items
    A specator item example.

        spectator
    

    Dropdown

    Dropdown are controls which can hold inside them the other three item types Buttons, Labels and Spectators
    A typical dropdown item example.

    
        dropdown
        system|Tools
        
        system|tools
      
        button
        system|Options
        system|about
        
        system|about
      
      
        spet
       
      
        label
        system|Options