Maplets[Tools] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Tools : Maplets/Tools/AddContent

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.

withMaplets[Elements]:

aActionSetOption'TF1'=

a:=Elements:-com.maplesoft.maplets.elements.MActionrun=false,Elements:-com.maplesoft.maplets.elements.MCommandSetParametertarget=REFTF1,value=,option=value

(1)

Maplets[Tools][AddContent]a,Shutdown

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

(2)

See Also

Maplets[Tools]

Overview of Maplet Applications

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam