GUIKit`
GUIKit`

SetPropertyValue

The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.

SetPropertyValue[name,value]

sets a widget property value.

SetPropertyValue[{target,name},value] or SetPropertyValue[{target,name}->value]

sets a widget property value, specifying the target widget.

SetPropertyValue[{target,name,index},value] or SetPropertyValue[{target,name,index}->value]

sets an indexed widget property value, specifying the target widget.

Details

  • To use SetPropertyValue, you first need to load GUIKit using Needs["GUIKit`"].
  • The following option can be given:
  • NameNonea name with which to register the property value within the widget registry

Examples

open allclose all

Basic Examples  (1)

Run an interface definition:

Set the "text" property of the "FirstArgumentField" widget:

Options  (1)

Name  (1)

Run an interface definition:

Set a property value and register the value with the name "savedArgument" in the widget registry:

Now this value can be referenced separately using WidgetReference:

Wolfram Research (2007), SetPropertyValue, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.

Text

Wolfram Research (2007), SetPropertyValue, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.

BibTeX

@misc{reference.wolfram_2021_setpropertyvalue, author="Wolfram Research", title="{SetPropertyValue}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}", note=[Accessed: 01-December-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_setpropertyvalue, organization={Wolfram Research}, title={SetPropertyValue}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}, note=[Accessed: 01-December-2021 ]}

CMS

Wolfram Language. 2007. "SetPropertyValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.

APA

Wolfram Language. (2007). SetPropertyValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html