PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
  • Tutorial
  • Element Reference
Language basics
  • SKIN
  • DUMMY
  • INCLUDE
  • INCLUDE_ONCE
  • DEFINE
  • UNDEFINE
  • VARIABLE
  • LOCAL_VARIABLE
  • TEMPLATE
  • TEMPLATE_INNER_CONTENT
  • REPEAT
Data model
  • PARAM
  • STRING
UI Layout and positioning
  • CELL
  • TABLE
UI Widgets
  • TEXT
  • TEXT_FIELD
  • TEXT_EDIT_BOX
Common attrubutes
  • For all elements
  • Widgets
  • Param Widgets
  • Param Controls
  • Param Info Viewers
  • Text Widgets
  • Surface Viewers
  • Curve Viewers
  • 3D Objects
  • Parameters mapping
KUIMLElement ReferenceACTION
December 23, 2020

ACTION

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.

Attributes brief detailed show all inherited

Name Description Default
typeThe type of action to executeEach action type may use specific attributes. See the available Built-In Action Types for more informationEmpty.
nameDisplayed named of the actionEmpty.
commentComment about the actionEmpty.
Exposed: v. 1.9.1enabledactivation status of the actionIf disabled, the action will not executeEmpty.
Name Value type Default Description Comment
typeaction typeEmpty.The type of action to executeEach action type may use specific attributes. See the available Built-In Action Types for more information
namestringEmpty.Displayed named of the action
commentstringEmpty.Comment about the action
Exposed: v. 1.9.1enabledbooleanEmpty.activation status of the actionIf disabled, the action will not execute

See Attributes Common to All Elements.

Specific Attributes

Examples

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

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

 


Comments

2020 © Plug'n Script and KUIML by Blue Cat Audio  |  Site by LetiMix