Overview of the Maplets Package - Maple Programming Help

Home : Support : Online Help : Programming : Maplets : MapletsPackage

Overview of the Maplets Package

 Calling Sequence Maplets[command](arguments) command(arguments)

Description

 • The Maplets package contains commands for creating and displaying Maplet applications (point-and-click interfaces).
 • To create and display Maplet applications in a point-and-click environment, use the Maplet Builder.  The Maplet Builder is available only in the Standard Worksheet interface.  For more details, see Overview of the Maplet Builder.
 • The following sections describe the subpackages and commands in the Maplets package.

Creating a Maplet

 • To create a Maplet application using the Maplets package, you must write a Maplet definition, which specifies the structure and behavior of the Maplet, using the commands in the Elements, Tools, and Utilities subpackages.
 • The Elements subpackage contains individual components used to create a Maplet application, for example, windows, buttons, and check boxes, including options that specify their position and appearance.
 • The Tools and Utilities subpackages contains additional commands used to author advanced Maplets.
 • To begin learning how to write Maplets, see Roadmap to Creating Maplet Applications.

List of Maplets[Elements] Subpackage Commands

 The following is a list of the available commands.

 • For more information on the commands in this subpackage, see Overview of the Maplets[Elements] Package.

List of Maplets[Tools] Subpackage Commands

 The following is a list of the available commands.

 • For more information on the commands in this subpackage, see Overview of the Maplets[Tools] Package.

List of Maplets[Utilities] Subpackage Commands

 The following is a list of the available commands.

 • For more information on the commands in this subpackage, see Overview of the Maplets[Utilities] Package.

Running a Maplet

 • To process a Maplet definition and display the resulting Maplet application, use the Display command.

List of Maplets Package Commands

 The following is a list of the available commands.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Elements}\right]\right):$
 > $\mathrm{SimpleMaplet}≔\mathrm{Maplet}\left(\left[\mathrm{Button}\left("Close",\mathrm{Shutdown}\left(\right)\right)\right]\right):$
 > $\mathrm{Maplets}\left[\mathrm{Display}\right]\left(\mathrm{SimpleMaplet}\right):$

Example Maplets

 • The Examples subpackage contains commands that launch interfaces to several Maple commands.
 Note: You do not need to use the Display command to launch these Maplets.

List of Maplets[Examples] Subpackage Commands

 The following is a list of the commands and functions available in the Maplets[Examples] subpackage.

 • For more information on the commands in this subpackage, see Overview of the Maplets[Examples] Package help page.

List of Maplets[Examples][LinearAlgebra] Subpackage Commands

 • The Examples[LinearAlgebra] subpackage provides visual interfaces to some routines in the LinearAlgebra package.
 The following is a list of available commands.

 • For more information on the commands in this package, see Overview of the Maplets[Examples][LinearAlgebra].

Examples

 > with(Maplets[Examples]):
 > GetColor();
 > with(Maplets[Examples][LinearAlgebra]):
 > QRDecomposition(<1,3|2,5|5,7>);