【发布时间】:2017-04-04 09:17:19
【问题描述】:
我正在尝试创建一个带有 zenity 的弹出窗口来获取用户的一些输入。
parameters=$(zenity --forms --title="Add Parameters" --separator="," --add-entry="Dimensionality" --add-entry="float" --add-entry="Interpolation" --add-entry="winsorize image intensities" --add-entry="Use histogram matching" --add-entry="Num_transform" --add-entry="Convergence" --add-entry="Metric" --add-entry="Shrink Factors" --add-entry="Smoothing sigmas")
所以现在我希望这些字段具有默认值,以便用户使用。我尝试了--entry-text,但我收到了错误--entry-text is not supported for this dialogue。
有什么想法吗?
【问题讨论】: