Difference between revisions of "PrF UG slots value type menu"
(Automated import of articles) |
|||
Line 4: | Line 4: | ||
{{PrF_UG_TOC_slots}}<div id='prf_ug'> | {{PrF_UG_TOC_slots}}<div id='prf_ug'> | ||
− | 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. | ||
Line 16: | Line 14: | ||
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 29: | ||
<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> | ||
Revision as of 11:12, October 17, 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