AddPalette - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DocumentTools

  

AddPalette

  

add a custom Snippets palette to the palette dock

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AddPalette(palette_name, position=pos, store=st)

Parameters

palette_name

-

string ; the name of the custom Snippets palette

pos

-

(optional) "top" or "bottom" ; where to place the new palette in the dock (default: "top")

st

-

(optional)  truefalse  ; whether the palette should be reloaded in subsequent Maple sessions (default: false)

Description

• 

The AddPalette function adds a custom Snippets palette to the palette dock in the left pane of the Maple window.  The palette can be placed either at the top (default) or at the bottom of the dock.

• 

If the store option is given as store=true (or as just store), the palette will be added to the set of palettes which are available in subsequent Maple sessions.  By default, Snippets palettes are removed when the Maple session ends and are not restored in subsequent sessions.

• 

Snippets palettes can be manipulated just as the built-in palettes are, such as by using the View > Palettes menu.  For more information on arranging palettes, see the Arrange Palettes help page.

• 

To add entries to a Snippets palette, use the DocumentTools[AddPaletteEntry] command.

• 

To remove a Snippets palette, use the DocumentTools[RemovePalette] command.

Examples

withDocumentTools:

AddPaletteMy first palette

AddPaletteMy second palette,position=bottom,store

RemovePaletteMy first palette

Compatibility

• 

The DocumentTools[AddPalette] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

Arrange Palettes

DocumentTools

DocumentTools[AddPaletteEntry]

DocumentTools[RemovePalette]

worksheet/expressions/createpalette