📋CMenuMultiSelect
Last updated
Last updated
string
Returns widget's name.
{nameId: string, imagePath: string, isEnabled: boolean}[]
, expanded [?]
: boolean
): nil
Name | Type | Description |
---|---|---|
Updates the multiselect values.
boolean
): boolean
Name | Type | Description |
---|---|---|
Gets or sets one item selection state. One item selection allows only one item to be selected. Depends on the argument.
boolean
boolean
): boolean
Gets or sets drag allowed state. Drag allows items to be ordered by cursor. Depends on the argument.
boolean
Returns widget's parent.
Enum.WidgetType
Returns widget type.
nil
Opens parent tabs.
string
): nil
Not recommended for use due to its complexity
Changes text in the widget. The path to the widget is not affected. May be used for dynamic text customization or recolor.
string
): string
Gets or sets tooltip. Tooltip is displayed when mouse cursor is over the widget. Depends on the argument.
string
boolean
): nil
Gets or sets visible state. Depends on argument.
boolean
boolean
): nil
Gets or sets disabled state. Depends on argument.
boolean
boolean
): nil
Gets or sets unsafe state. Unsafe widgets have warning sign. Depends on argument.
boolean
string
): boolean
Returns enable state of the item in multiselect.
string[]
): nil
Sets a new value for the item by itemId or sets a new list of enabled items
string
, value: boolean
): nil
string[]
Returns array of enabled itemIds.
Sets widget's image.
Sets widget's icon. Icons list
fun(this: CMenuMultiSelect):nil
, forceCall [?]
: boolean
): nil
Multiple callbacks could be set.
Sets widget's on change callback.
fun(this: CMenuMultiSelect):nil
): nil
Removes widget's on change callback.
table<string>
): nil
Updates widget's background colors.
table<string>
): nil
Updates widget's image colors.
table<string>
): nil
Updates widget's tooltips
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|