DocumentTools
AddPalette
add a custom Snippets palette to the palette dock
Calling Sequence
Parameters
Description
Examples
Compatibility
AddPalette(palette_name, position=pos, store=st)
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)
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.
with⁡DocumentTools:
AddPalette⁡My first palette
AddPalette⁡My second palette,position=bottom,store
RemovePalette⁡My first palette
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[AddPaletteEntry]
DocumentTools[RemovePalette]
worksheet/expressions/createpalette
Download Help Document