DocumentTools - Maple Programming Help

Home : Support : Online Help : Programming : Document Tools : DocumentTools/RemovePaletteEntry

DocumentTools

 RemovePaletteEntry
 remove a task from a custom Snippets palette

 Calling Sequence RemovePaletteEntry(entry, palette=palette_name)

Parameters

 entry - string ; the name of the task to remove from the palette palette_name - string ; the name of the Snippets palette from which to remove entry

Description

 • The RemovePaletteEntry command removes a task from a custom Snippets palette.
 • If the store=true option was provided when the Snippets palette was created (through the DocumentTools[AddPalette] command), the task will not be included in the palette in subsequent Maple sessions.
 • The task can be added back to this or another Snippets palette by using the DocumentTools[AddPaletteEntry] command.
 • To remove a Snippets palette completely, use the DocumentTools[RemovePalette] command.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}\right):$
 > $\mathrm{AddPaletteEntry}\left("Task_1",\mathrm{palette}="My palette"\right)$
 > $\mathrm{AddPaletteEntry}\left("Task_2",\mathrm{palette}="My palette"\right)$
 > $\mathrm{RemovePaletteEntry}\left("Task_1",\mathrm{palette}="My palette"\right)$
 > $\mathrm{RemovePaletteEntry}\left("Task_2",\mathrm{palette}="My palette"\right)$

Compatibility

 • The DocumentTools[RemovePaletteEntry] command was introduced in Maple 16.