Maplets[Elements] - Maple Programming Help

Home : Support : Online Help : Programming : Maplets : Elements : Tool Bar Elements : Maplets/Elements/ToolBarSeparator

Maplets[Elements]

 ToolBarSeparator
 define a toolbar separator

 Calling Sequence ToolBarSeparator(opts) ToolBarSeparator[refID](opts)

Parameters

 opts - equation(s) of the form reference=value; specify options for the ToolBarSeparator element refID - name or string; reference to the element

Description

 • The ToolBarSeparator toolbar element defines a toolbar separator in a Maplet application.

 • The ToolBarSeparator element features can be modified by using options.  To simplify specifying options in the Maplets package, certain options and contents can be set without using an equation. The following table lists elements, symbols, and types (in the left column) and the corresponding option or content (in the right column) to which inputs of this type are, by default, assigned.

 Elements, Symbols, or Types Assumed Option or Content refID reference option

 • A ToolBarSeparator element cannot contain other elements.
 • A ToolBarSeparator element can be contained in a ToolBar element.
 • The following table describes the control and use of the ToolBarSeparator 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 G S R reference x

 • The opts argument can contain one or more of the following equations that set Maplet application options.
 reference = name or string
 A reference to the ToolBarSeparator element.
 If the reference is specified by both an index, for example, ToolBarSeparator[refID], and a reference in the calling sequence, the index reference takes precedence.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}[\mathrm{Elements}]\right):$
 > $\mathrm{maplet}≔\mathrm{Maplet}\left(\mathrm{Window}\left('\mathrm{title}'="Integration w.r.t. x",'\mathrm{toolbar}'=\mathrm{ToolBar}\left(\mathrm{ToolBarButton}\left("Exit",\mathrm{Shutdown}\left(\right)\right),\mathrm{ToolBarSeparator}\left(\right),\mathrm{ToolBarButton}\left("Do It",'\mathrm{onclick}'=\mathrm{Evaluate}\left('\mathrm{TF1}'='∫\mathrm{TF1}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}ⅆx'\right)\right)\right),\left[\mathrm{TextField}['\mathrm{TF1}']\left(\right),\mathrm{Button}\left("OK",\mathrm{Shutdown}\left("OK"\right)\right)\right]\right)\right):$
 > $\mathrm{Maplets}[\mathrm{Display}]\left(\mathrm{maplet}\right)$

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