Custom Palettes - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Reference : Shortcuts : Palettes : Custom Palettes

Creating a Custom Snippets Palette

Maple provides a number of palettes, collections of buttons representing symbols, expressions, and so on, that can be inserted into a Maple document.  You can also create your own custom Snippets palette.  The process for creating a Snippets palette is:

1. 

Define the items that you will put on your palette by creating tasks.

2. 

Define a Snippets palette.

3. 

Create icons for your palette items (optional).

4. 

Add the palette items to your palette.

A simpler way to put entries into a palette is to use the existing Favorites palette.  See Create a Favorites Palette of Commonly Used Expressions and Entities.

 

Defining a Palette Item by Creating a Task

Defining a Snippets Palette

Creating an Icon for Your Palette Item

Adding a Palette Item to Your Palette

Defining a Palette Item by Creating a Task

• 

Palettes are built from task templates.  A task template can be any subselection of a Maple worksheet (or an entire Maple worksheet).  It can include placeholders similar to those used in the Expression palette.

• 

For information on this step, see Creating Tasks.

Defining a Snippets Palette

• 

To define a Snippets palette, use the command DocumentTools[AddPalette].

• 

You can specify where the palette appears (top or bottom).  To change this later, see Arranging Palettes.

Creating an Icon for Your Palette Item

To create the icon that will display on the palette:

1. 

Save the desired image as a PNG file.

2. 

Use the command DocumentTools[AddIcon] to store the icon in the same help database file as the associated task (by default, the tasks.help file).

Note: Creating an icon is optional.  If you do not use an image file as the icon, then a default text display is used.

Adding a Palette Item to Your Palette

• 

To add the palette item to your palette, use the command DocumentTools[AddPaletteEntry].

See Also

DocumentTools[AddIcon]

DocumentTools[AddPalette]

DocumentTools[AddPaletteEntry]

worksheet/expressions/exppalette

worksheet/expressions/favoritepalette

worksheet/expressions/palettes

worksheet/expressions/sharepalette

worksheet/expressions/showpalettes

worksheet/help/creatingtasks