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 and Options

  • To use SetPropertyValue, you first need to load GUIKit using Needs["GUIKit`"].
  • The following option can be given:
  • Name Nonea 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.

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_setpropertyvalue, organization={Wolfram Research}, title={SetPropertyValue}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}, note=[Accessed: 18-November-2024 ]}