Maplets[Tools]
AddContent
add content to an element
Calling Sequence
Parameters
Description
Examples
AddContent(x, opts)
x
-
element
opts
(optional) content to add
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.
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⁡target=REF⁡TF1,value=,option=value
MapletsToolsAddContent⁡a,Shutdown⁡
Maplets:−Elements:−com.maplesoft.maplets.elements.MAction⁡run=false,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandSetParameter⁡target=REF⁡TF1,value=,option=value,Maplets:−Elements:−com.maplesoft.maplets.elements.MCommandShutdown⁡
See Also
Overview of Maplet Applications
Download Help Document