Maplets[Elements] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Elements : Layout Elements : Maplets/Elements/GridRow

Maplets[Elements]

  

GridRow

  

specify a row in a grid layout

 

Calling Sequence

Parameters

Description

Examples

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

withMapletsElements:

mapletMapletGridLayoutGridRowGridCellSpacing:,GridCell-----------------,GridRowGridCellRight alignment:,GridCellSample,halign=right,GridRowGridCellCenter alignment:,GridCellSample,halign=center,GridRowGridCellLeft alignment:,GridCellSample,halign=left,GridRowGridCellFull alignment:,GridCellSample,halign=full,GridRowGridCellButtonQuit,Shutdown:

MapletsDisplaymaplet

See Also

Maplets/LayoutElements

Maplets[Display]

Maplets[Elements]

Maplets[Elements][BoxLayout]

Maplets[Elements][Button]

Maplets[Elements][GridCell]

Maplets[Elements][GridLayout]

Maplets[Elements][Maplet]

Maplets[Elements][SetOption]

Maplets[Elements][Shutdown]

Maplets[Tools][Get]

Maplets[Tools][Set]

Overview of Maplet Applications