Mathematica > 动态交互 > 构建用户界面 > 对话框 >
对话框
Mathematica 统一的符号体系可以非常轻松的创建对话框,从简单对话框到详细定制具体内容的对话框. 每个对话框可以设置任意布局和样式,其中通过 Mathematica 程序定义的任意行为可以通过 Mathematica Dynamic 机制得到快速应用.
MessageDialog 建立一个对话框显示一条信息
ChoiceDialog 建立一个带有选项按钮的对话框
    
DialogInput 建立一个对话框且返回 DialogReturn 所获得的值
CreateDialog 建立一个对话框,但 Mathematica 持续计算
DialogNotebook 自定义一个对话窗口
    
Input, InputString 从简单对话框输入
SystemDialogInput 通过系统对话框输入 (文件,颜色,声音 ...)
    
按钮
DialogReturn 关闭一个对话框,可能返回一个值
Checkbox  ▪ PopupMenu  ▪ SetterBar  ▪ InputField  ▪ ProgressIndicator  ▪ RadioButton  ▪ RadioButtonBar  ▪ FileNameSetter  ▪ ColorSetter  ▪ ...
Text  ▪ Grid  ▪ Panel  ▪ Enabled  ▪ TabView  ▪ OpenerView  ▪
注释和标签
Tooltip  ▪ Labeled  ▪ Text  ▪ Graphics  ▪ WindowTitle
    
Modal 指定前端是否使用对话框模式
教程
更多关于
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
格式:   HTML  |  CDF