Print - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Maplets[Tools]

  

Print

  

print a Maplet application

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Print(maplet)

Parameters

maplet

-

Maplet application

Description

• 

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.

Examples

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.

withMapletsTools:

withMapletsElements:

maplet1MapletHello world!:

Printmaplet1

<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>

maplet2Mapletonstartup=_Maplets_reference_4&comma;Windowenabled=true&comma;visible=true&comma;resizable=true&comma;reference=_Maplets_reference_1&comma;layout=_Maplets_reference_2&comma;BoxLayoutborder=false&comma;visible=true&comma;inset=5&comma;vertical=false&comma;reference=_Maplets_reference_2&comma;BoxColumnvscroll=never&comma;border=false&comma;visible=true&comma;inset=5&comma;hscroll=never&comma;spacing=5&comma;BoxRowvscroll=never&comma;border=false&comma;visible=true&comma;inset=5&comma;hscroll=never&comma;spacing=5&comma;BoxCellhalign=center&comma;valign=center&comma;vscroll=never&comma;hscroll=never&comma;value=_Maplets_reference_3&comma;Labelenabled=true&comma;halign=center&comma;valign=center&comma;visible=true&comma;reference=_Maplets_reference_3&comma;caption=Hello world!&comma;Actionreference=_Maplets_reference_4&comma;RunWindowwindow=_Maplets_reference_1&colon;

Printmaplet2

<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]

Maplets[Tools]

Overview of Maplet Applications