KUIML
Blue Cat's User Interface Programming Language
ACTION

Description

This element represents an action that can be triggered by the end user with an action button, or by other events, using the ACTION_TRIGGER element.

Inherited Attributes

See Attributes Common to All Elements.

Specific Attributes

Name Value Type Default Value Description Comment V. Exp.

type

action type

Empty.

The type of action to execute.

Each action type may use specific attributes. See the available Built-In Action Types for more information.

1.9.1

No

name

string

Empty.

Displayed named of the action.


1.9.1

No

comment

string

Empty.

Comment about the action.


1.9.1

No

enabled

boolean

Empty.

activation status of the action.

If disabled, the action will not execute.

1.9.1

1.9.1

Examples

The following example creates a button that displays a message box saying "Hello World!":

<?xml version="1.0" encoding="utf-8" ?>
<SKIN>
    <ACTION id="my_action" type="DisplayMessageBox" message="Hello World!" />
    <IMAGE_ACTION_BUTTON action_id="my_action" image="my_image" />
</SKIN>