Add Content - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Maplets[Tools]

  

AddContent

  

add content to an element

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AddContent(x, opts)

Parameters

x

-

element

opts

-

(optional) content to add

Description

• 

The AddContent(x, opts) calling sequence adds content to a previously constructed element.  This is an advanced feature.  No post-processing is performed. Therefore, shortcuts associated with the added element cannot be used.

• 

The AddContent command must be used on constructed elements prior to a call to the Maplet command and can only be used directly on objects to which it is applied.

Examples

A Maplet application that has one label which, when clicked, exits.

> 

with⁡MapletsElements:

> 

a≔Action⁡SetOption⁡TF1=

a≔Maplets:−Elements:−com.maplesoft.maplets.elements.MAction⁡run=false,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandSetParameter⁡value=,target=REF⁡TF1,option=value

(1)
> 

MapletsToolsAddContent⁡a,Shutdown⁡

Maplets:−Elements:−com.maplesoft.maplets.elements.MAction⁡run=false,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandSetParameter⁡value=,target=REF⁡TF1,option=value,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandShutdown⁡

(2)

See Also

Maplets[Tools]

Overview of Maplet Applications