 Grid Row - Maple Help

Maplets[Elements]

 GridRow
 specify a row in a grid layout Calling Sequence GridRow(opts, element_content) Parameters

 opts - equation(s) of the form option=value where option is one of halign or valign; specify options for the GridRow element element_content - any number of GridCell elements Description

 • The GridRow layout element specifies a row in a grid layout of a Maplet application.
 • The GridRow element features can be modified by using options.
 • A GridRow element can contain GridCell elements.
 • A GridRow element can only be contained in a GridLayout element.
 • The following table describes the control and use of the GridRow element options.
 An x in the I column indicates that the option can be initialized, that is, specified in the calling sequence (element definition).
 An x in the R column indicates that the option is required in the calling sequence.
 An x in the G column indicates that the option can be read, that is, retrieved by using the Get tool.
 An x in the S column indicates that the option can be written, that is, set by using the SetOption element or the Set tool.

 Option I R G S halign x valign x

 • The opts argument can contain one or more of the following equations that set Maplet application options.
 halign = left, center, right, or full
 Default horizontal alignment of the contents of each GridCell in the row.
 valign = top, center, bottom, or full
 Default vertical alignment of the contents of each GridCell in the row. Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Elements}\right]\right):$
 > \mathrm{maplet}≔\mathrm{Maplet}\left(\mathrm{GridLayout}\left(\mathrm{GridRow}\left(\mathrm{GridCell}\left("Spacing:"\right),\mathrm{GridCell}\left("-----------------"\right)\right),\mathrm{GridRow}\left(\mathrm{GridCell}\left("Right alignment:"\right),\mathrm{GridCell}\left("Sample"\right),\mathrm{halign}=\mathrm{right}\right),\mathrm{GridRow}\left(\mathrm{GridCell}\left("Center alignment:"\right),\mathrm{GridCell}\left("Sample"\right),\mathrm{halign}=\mathrm{center}\right),\mathrm{GridRow}\left(\mathrm{GridCell}\left("Left alignment:"\right),\mathrm{GridCell}\left("Sample"\right),\mathrm{halign}=\mathrm{left}\right),\mathrm{GridRow}\left(\mathrm{GridCell}\left("Full alignment:"\right),\mathrm{GridCell}\left("Sample"\right),\mathrm{halign}=\mathrm{full}\right),\mathrm{GridRow}\left(\mathrm{GridCell}\left(\mathrm{Button}\left("Quit",\mathrm{Shutdown}\left(\right)\right)\right)\right)\right)\right):
 > $\mathrm{Maplets}\left[\mathrm{Display}\right]\left(\mathrm{maplet}\right)$