zenity


[ Пред. ] [ Содержание ] [ След. ]

zenity


Created Понедельник 23 июля 2018
zenity --forms --title "Window title" --text "Combo name" --add-combo "Insert your choice." --combo-values "a|b|c|d|e"


#!/bin/bash
array=(a b c d e)
value=$(zenity --entry --title "Window title" --entry-text "${array[@]}" --text "Insert your choice.")

Содержание