开发者

Two dialog boxes at once in bash script

I have my bash dialog --menu box acting nicely, but i do need second one when i choose particular option like "change user". I want that "user list" --menu dialog box to open on top of开发者_如何学编程 the first one(which will be in background, but won't disappear completely) with specific coordinates.

Is that possible?

regards kasper


Chain the two with --and-widget:

dialog --menu "menu 1"  ........  --and-widget --begin $x $y --menu "menu 2" .......

Menu 1 will show and once you press enter it will remain in place while menu 2 will show and take control (like a new "popup window").

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜