Add Content - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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.

withMapletsElements:

aActionSetOptionTF1=

aMaplets:−Elements:−com.maplesoft.maplets.elements.MActionrun=false,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandSetParametertarget=REFTF1,value=,option=value

(1)

MapletsToolsAddContenta,Shutdown

Maplets:−Elements:−com.maplesoft.maplets.elements.MActionrun=false,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandSetParametertarget=REFTF1,value=,option=value,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandShutdown

(2)

See Also

Maplets[Tools]

Overview of Maplet Applications