Maplets[Tools]
Print
print a Maplet application
Calling Sequence
Parameters
Description
Examples
Print(maplet)
maplet
-
Maplet application
The Print(maplet) calling sequence prints the XML data structure of a Maplet application. This function can be used to investigate Maplet applications that do not display properly. The result can be significantly different from the original Maplet application definition because default value settings are included and simplifications are performed.
By using the default options, Maplet applications can be written simply. Note that the following two different Maplet application definitions create the same Maplet application and have the same XML data structure.
with⁡MapletsTools:
with⁡MapletsElements:
maplet1≔Maplet⁡Hello world!:
Print⁡maplet1
<Maplet locale='C.UTF-8' onstartup='Maplets_reference_4'> <Window enabled='true' layout='Maplets_reference_2' reference='Maplets_reference_1' resizable='true' title='Maplet' visible='true'/> <BoxLayout border='false' inset='5' reference='Maplets_reference_2' vertical='false' visible='true'> <BoxColumn border='false' hscroll='never' inset='5' spacing='5' visible='true' vscroll='never'> <BoxRow border='false' hscroll='never' inset='5' spacing='5' visible='true' vscroll='never'> <BoxCell fill='none' hscroll='never' value='Maplets_reference_3' vscroll='never'/> </BoxRow> </BoxColumn> </BoxLayout> <Label caption='Hello world!' enabled='true' halign='center' reference='Maplets_reference_3' valign='center' visible='true'/> <Action reference='Maplets_reference_4' run='false'> <RunWindow window='Maplets_reference_1'/> </Action> </Maplet>
maplet2≔Maplet⁡onstartup=_Maplets_reference_4,Window⁡enabled=true,visible=true,resizable=true,reference=_Maplets_reference_1,layout=_Maplets_reference_2,BoxLayout⁡border=false,visible=true,inset=5,vertical=false,reference=_Maplets_reference_2,BoxColumn⁡vscroll=never,border=false,visible=true,inset=5,hscroll=never,spacing=5,BoxRow⁡vscroll=never,border=false,visible=true,inset=5,hscroll=never,spacing=5,BoxCell⁡halign=center,valign=center,vscroll=never,hscroll=never,value=_Maplets_reference_3,Label⁡enabled=true,halign=center,valign=center,visible=true,reference=_Maplets_reference_3,caption=Hello world!,Action⁡reference=_Maplets_reference_4,RunWindow⁡window=_Maplets_reference_1:
Print⁡maplet2
<Maplet locale='C.UTF-8' onstartup='Maplets_reference_4'> <Window enabled='true' layout='Maplets_reference_2' reference='Maplets_reference_1' resizable='true' title='Maplet' visible='true'/> <BoxLayout border='false' inset='5' reference='Maplets_reference_2' vertical='false' visible='true'> <BoxColumn border='false' hscroll='never' inset='5' spacing='5' visible='true' vscroll='never'> <BoxRow border='false' hscroll='never' inset='5' spacing='5' visible='true' vscroll='never'> <BoxCell fill='none' halign='center' hscroll='never' valign='center' value='Maplets_reference_3' vscroll='never'/> </BoxRow> </BoxColumn> </BoxLayout> <Label caption='Hello world!' enabled='true' halign='center' reference='Maplets_reference_3' valign='center' visible='true'/> <Action reference='Maplets_reference_4' run='false'> <RunWindow window='Maplets_reference_1'/> </Action> </Maplet>
See Also
Maplets[Elements]
Overview of Maplet Applications
Download Help Document