Sfairadora

  • Reference Guide

Value_selector_def

The definition type of a value selector.
Type
Name
Description
Bool|Enki
multicolumn
If set TRUE, the value list is displayed in multiple columns when it is too long to fit in the window.
border
The border around the value list.
Text|Enki optional
data_getter
The getter functions. If the type Text is specified, it is an Enki function. If the type Enki is specified, it is a function returning the getter function’s source text (i.e. an indirect function).
Text|Enki optional
data_setter
The setter functions. If the type Text is specified, it is an Enki function. If the type Enki is specified, it is a function returning the setter function’s source text (i.e. an indirect function).
Atom|Enki
data_id
The name of the object where the edited data item is located.
Dref|Enki
data_ref
The reference of the edited data item within the object specified above.
default_value
The value used to switch off the marking. If not specified, the marking cannot be switched off.
Seq(Selector_item_info)
(see below)
items
The list of items of the selection.

Selector_item_info

Type
Name
Description
Icon|Enki optional
menu_icon
The icon displayed in the list in place of the mark sign.
Rich_string|
Enki
menu_title
The title displayed in the list.
Icon|Enki optional
display_icon
The icon displayed in the line editor if the value selector is inserted in a menu attached to a line editor.
If the value is not specified, the value menu_icon is used instead.
Rich_string|
Enki
display_title
The text displayed in the line editor if the value selector is inserted in a menu attached to a line editor.
If the value is not specified, the value menu_title is used instead.
Bool|Enki
separator
If set TRUE, a separator line is displayed above the item.
Bool|Enki
sumenu_unfolded
If set TRUE and the item being defined is a sub-menu, it will be initially unfolded.
value
The value assigned to the selection item being defined. (If the attribute items is present, this attribute is ignored.)
Seq(selection item) optional
items
The item list of a sub-selection. If this attribute is present, the item being defined is a nested selection list rather than a value definition.