Multimedia Guide and Reference

Wrap Button Properties

The Wrap Button part has the following properties:

alignment
Use the alignment property to specify that the text, icon, or bitmap can be aligned either left, right, or centered. On some platforms, the alignment for push buttons, toggle buttons, and cascade buttons cannot be set and is ignored. The possible values are as follows:
XmLEFT
Left alignment
XmRIGHT
Right alignment
XmCENTER
Center alignment
backgroundColor
Use the backgroundColor property to name the RGB color for the background of the part.
borderWidth
Use the borderWidth property to specify the width of the border, in pixels, that surrounds the part on all four sides. A width of zero means that a border does not show. On some platforms, the border width is limited to 1 pixel and any nonzero value is set to 1.
converter
Use the converter property to specify the converter to use for the part. A converter is an object that manages the conversion of other objects to and from their display format for certain visual parts, such as a Text part.
disabledGraphicsDescriptor
Use the disabledGraphicsDescriptor property to specify an icon, bitmap, or image used to indicate that the part is disabled. The labelType property must be an icon, bitmap, or image or the disabledGraphicsDescriptor property is ignored.
dragDropSpec
Use the dragDropSpec property to specify drag and drop information for the part. You can tear-off the dragDropSpec property to access its properties and events.
enabled
Use the enabled property to specify whether a part is available for selection. If true, the part's contents are available for selection.
fontName
Use the fontName property to name the font to use for the text displayed in the part.
foregroundColor
Use the foregroundColor property to name the RGB color for the foreground of the part.
framingSpec
Use the framingSpec property to represent values specified for the edge specifications of the part. The edge specifications determine the width, height, and position of the part.
graphicsDescriptor
Use the graphicsDescriptor property to specify an icon, bitmap, or image that is used instead of text for the label. The labelType property must be XmPIXMAP or the graphicsDescriptor property is ignored.
helpFile
Use the helpFile property to name the help file associated with the part.
helpKeysId
Use the helpKeysId property to specify the ID of the keys help associated with the part. The ID can be a string or an integer value. The ID must exist in the help file associated with the part.
helpTitle
Use the helpTitle property to specify the title of the help window associated with the part.
helpTopicId
Use the helpTopicId property to specify the ID of the help topic associated with the part. The ID can be a string or an integer value. The ID must exist in the help file associated with the part.
indicatorOn
Use the indicatorOn property to specify that the check box is drawn to the left of the check box text, icon, or bitmap; otherwise space is not allocated for the indicator and it is not displayed.
labelFontName
Use the labelFontName property to specify the font used for the labels of the part. If a font is not specified, the font specified on the textFontName property is used.
labelMarginBottom
Use the labelMarginBottom property to specify the amount of space between the label and the bottom margin.
labelMarginHeight
Use the labelMarginHeight property to specify the amount of space between the label and the bottom edge of the top shadow and the top edge of the bottom shadow.
labelMarginLeft
Use the labelMarginLeft property to specify the amount of space between the label and the left margin.
labelMarginRight
Use the labelMarginRight property to specify the amount of space between the right margin and the label of the part.
labelMarginTop
Use the labelMarginTop property to specify the amount of space between the the label and the top margin.
labelMarginWidth
Use the labelMarginWidth property to specify the amount of blank space between the label and the right edge of the left shadow and the left edge of the right shadow.
labelType
Use the labelType property to specify the type of label you want. The possible values are as follows:
XmICON
The icon defined by graphicsDescriptor is displayed.
XmPIXMAP
The graphic defined by graphicsDescriptor is displayed.
XmSTRING
The string defined by labelString is displayed.
mnemonic
Use the mnemonic property to specify a character that the user can type to select an item. A mnemonic character is displayed with an underscore (_) and is usually used for buttons belonging to menus.
object
The object property is the data that the part represents. If the part represents non-string data, use this property; otherwise use the labelString or string property, if either is available. For example, you can use the object property with a converter to display the label of a button.
partName
Use the partName property to name the part. Every part dropped on the free-form surface is assigned a name that is unique from all other parts on the layout surface. For example, a push button is assigned a name such as "Push Button1". To change the name of a part, specify a new name for the partName property. Or, select Change Name from the pop-up menu of the part and enter a new name in the displayed dialog.
recomputeSize
Use the recomputeSize property to indicate whether the video playback window should automatically resize itself to fit the closest size of the video file that is loaded. The default value is true.
selection
Use the selection property to keep the button matched with the state of the player. This is similiar to the behavior of the clicked event for push buttons. This connection is not necessary if you make the setEmphasis connection.
tabGroup
Use the tabGroup property to specify whether a part is included as a tab stop so users can use the Tab and Backtab keys to access the part.
traversalOn
Use the traversalOn property to specify whether users can access a part using the cursor movement keys. Specifying true indicates that the cursor movements keys can be used to access the part.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]