Erabili --forms aukera.

# Inprimakien elkarrizketa-koadroa

Erabili `--forms` aukera inprimakien elkarrizketa-koadroa sortzeko.

The forms dialog supports the following options:

# --add-entry=FieldName

Add a new Entry in forms dialog.

# --add-password=FieldName

Add a new Password Entry in forms dialog. (Hide text)

# --add-calendar=FieldName

Add a new Calendar in forms dialog.

# --text=TEXT

Ezarri elkarrizketa-koadroaren testua.

# --separator=BEREIZLEA

Set output separator character. (Default: | )

# --forms-date-format=PATTERN

Set the format for the returned date. The default format depends on your locale. format must be a Format that is acceptable to the strftime function, for example %A %d/%m/%y.

The following example script shows how to create a forms dialog:

#!/bin/sh

zenity --forms --title="Add Friend" \ --text="Enter information about your friend." \ --separator="," \ --add-entry="First Name" \ --add-entry="Family Name" \ --add-entry="Email" \ --add-calendar="Birthday" >> addr.csv

case $? in 0) echo "Friend added.";; 1) echo "No friend added." ;; -1) echo "An unexpected error has occurred." ;; esac

# Forms Dialog Example

Zenity
forms dialog example