kasper
kasper

Reputation: 631

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

Upvotes: 2

Views: 4773

Answers (1)

Costi Ciudatu
Costi Ciudatu

Reputation: 38195

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").

Upvotes: 3

Related Questions