Skip to main content

CustomWidget (커스텀 위젯) Widget Control

Information about the Widget Control (Property · Method · Event) you use to control the CustomWidget widget from a script. To learn about the widget itself and how to use it, see the CustomWidget doc.

info

In the examples below, customwidgetID is the name (ID) assigned to the CustomWidget widget on the canvas. In scripts, access members as widgetID.member.

note

The CustomWidget widget has no script-specific Widget Control (Property·Method·Event). The widget registered in the SDK determines what appears, and to read and write values you use the common Widget Control below.

Property

info

Not applicable — the CustomWidget widget has no script-specific Property. In scripts, read and write values with the common Widget Control below (getProperty / setProperty).

Method

info

Not applicable — the CustomWidget widget has no dedicated Method. Use the common Widget Control below.

Event

info

Not applicable — the CustomWidget widget has no dedicated Event.

Common Widget Control (all widgets)

note

Every widget can use name-based common Widget Control (Method) such as setProperty(name, value) / getProperty(name) / setStyleProperty(styleName, styleProperty, value). See the common reference doc (to be written).