GUIKit`
GUIKit`

Widget

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

Widget[class:class|path|URL[path],{content}]

defines a new widget instance.

更多信息和选项

  • To use Widget, you first need to load GUIKit using Needs["GUIKit`"].
  • The following options can be given:
  • InitialArgumentsNonea list of arguments to use in the constructor for this widget instance
    NameNonea name with which to register this instance in the widget registry
    ExposeWidgetReferencesAutomatica list of widget names to expose from an internal definition

范例

打开所有单元关闭所有单元

基本范例  (1)

Create a widget instance:

Explicitly specify what Java class to use:

Specify constructor arguments:

Options  (2)

InitialArguments  (1)

Name  (1)

Assign a name:

Reference the named widget:

The interface has been resized to display the entire title:

Wolfram Research (2007),Widget,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/Widget.html.

文本

Wolfram Research (2007),Widget,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/Widget.html.

CMS

Wolfram 语言. 2007. "Widget." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/Widget.html.

APA

Wolfram 语言. (2007). Widget. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GUIKit/ref/Widget.html 年

BibTeX

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

BibLaTeX

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