Difference between revisions of "PrF UG slots value type menu"
(Automated import of articles) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== The Value Type Menu == | == The Value Type Menu == | ||
− | {{PrF_UG_TOC_slots}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_slots}}<div id='prf_ug'></noinclude> |
− | The Value Type menu in the | + | The Value Type menu |
− | [[PrF_UG_slots_slot_editor|Slot Editor]] | + | in the [[PrF_UG_slots_slot_editor|Slot Editor]] |
allows you to select the slot value type, | allows you to select the slot value type, | ||
which determines the kind of values that the slot may hold. | which determines the kind of values that the slot may hold. | ||
− | When a value type of <b>Class</b>, | + | When a value type of <b>Class</b>, <b>Instance</b>, or <b>Symbol</b> is selected, |
− | <b>Instance</b>, | ||
− | or <b>Symbol</b> is selected, | ||
an additional pane appears below the <b>Value Type</b> menu. | an additional pane appears below the <b>Value Type</b> menu. | ||
− | <div>[[Image:PrF_UG_slots_value_type_menu.png| | + | <div>[[Image:PrF_UG_slots_value_type_menu.png|frame|none| |
+ | Value Type menu]]</div> | ||
When you are creating instances for a slot, | When you are creating instances for a slot, | ||
− | the slot type also determines how the slot is displayed in the | + | the slot type also determines how the slot is displayed |
− | [[PrF_UG_inst_instance_editor|Instance Editor]]. | + | in the [[PrF_UG_inst_instance_editor|Instance Editor]]. |
− | See the | + | See the [[PrF_UG_inst_standard_fields|Standard Widgets]] |
− | [[PrF_UG_inst_standard_fields|Standard Widgets]] | ||
for more information about instances and type. | for more information about instances and type. | ||
Line 32: | Line 30: | ||
<li><p> | <li><p> | ||
[[PrF_UG_slots_value_type_boolean|Boolean]]: | [[PrF_UG_slots_value_type_boolean|Boolean]]: | ||
− | a logical, | + | a logical, Boolean value; |
− | + | i.e., a value that is either true or false | |
− | i.e., | ||
− | |||
</p> | </p> | ||
Line 70: | Line 66: | ||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 18:56, November 13, 2008
The Value Type Menu
The Value Type menu in the Slot Editor allows you to select the slot value type, which determines the kind of values that the slot may hold. When a value type of Class, Instance, or Symbol is selected, an additional pane appears below the Value Type menu.
When you are creating instances for a slot, the slot type also determines how the slot is displayed in the Instance Editor. See the Standard Widgets for more information about instances and type.
The following value types are available:
Any: the slot can take any of the values on the menu.
Boolean: a logical, Boolean value; i.e., a value that is either true or false
Class: the slot takes one or more classes as values
Float: the slot has a floating-point number as a value
Instance: the slot takes one or more instances as values
Integer: the slot takes an integer as a value
String: the slot takes ASCII text strings as values
Symbol: the slot takes values from a list of strings you define