VLC Skin Editor - Online Help > Documentation > Items > Button

Button

A clickable button, that triggers a certain action. A button has three states: Up, Over and Down. These correspond to the mouse interaction with the button.

General Attributes

ID
A unique identifier for the item.

Visibility
A boolean expression indicating whether the item is shown or hidden.
XML-attribute name: visible

X and Y
The coordinates of the item relative to the parent container (Layout, Panel or Group).

Lefttop and Rightbottom
Indicate to which corners of the parent container the item's corners are attatched to in case of resizing.
See also: "How to create a resizable window"

Keep X/Y ratio
Indicate whether the items relative horizontal and vertical positions in the parent container should be maintained when it is resized.
See also: "How to create a resizable window"
XML-attribute name: xkeepratio & ykeepratio

Help text
Help text for the current control. The text variable $H will be set to this value when the mouse moves over the item.
XML-attribute name: help

Button Attributes

Normal image
The bitmap that is displayed when the button is in its normal state.
XML-attribute name: up

Mouse-over image
The bitmap that is displayed when the mouse is over the button.
XML-attribute name: over

Mouse-click image
The bitmap that is displayed when the button is clicked.
XML-attribute name: down

Action
The action that is triggered when the button is clicked.

Tooltiptext
The text that is displayed as a tooltip, when the button is hovered by the mouse. You can also use the available text variables.

See also:
Bitmap resources
Text variables