| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A command button's type is "Command Button".
Command buttons send the following signals.
signalCmdButtonClickedOccurs when the user clicks a mouse button on the component.
Command buttons publish the following properties.
CaptionUsed to change the text on the button.
StateHolds the state of button being pressed or released. This attribute is read-only.
ImageFor styles bfsNormal and bfsToobar you can optionally set an image. This property is write-only.
Command buttons may be configured to display the following frame styles.
bfsNormalA normal frame with text, a 3D border, and an optional image or an icon that is aligned left, right, below or above the button text.
bfsToolbarA normal frame without text, but may have an image or an icon that is aligned left, right, below or above the button text.
bfsBitmapA frame whose appearance is entirely dictated by images. This frame style must be present with the `BitmapNormal', `BitmapFocused' and `BitmapClicked' attributes in a definition file.
Command buttons publish the following attributes.
StyleDefines the frame style.
AlphaAlpha level of the button. Only used for `bfsBitmap' style.
CaptionThe button's caption (title).
IconAn optional icon for bfsNormal and bfsToolbar styles. The value of this attribute is a vfs path to picture.
IconAlignAn optional alignment for the optional icon for bfsNormal and bfsToolbar styles. Values can be:
Command buttons support the following skin attributes.
OverlayTextureAlphaUsed for texturing the button with a global texture. Can be used to give a "liquid" look to buttons.
TextureUsed for overlaying the button with the global texture.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated using texi2html 1.76.