Erabili --scale aukera.

# Eskalaren elkarrizketa-koadroa

Erabili `--scale` aukera eskalaren elkarrizketa-koadroa sortzeko.

The scale dialog supports the following options:

# --text=TEXT

Set the dialog text. (Default: Adjust the scale value)

# --value=BALIOA

Set initial value. (Default: 0) You must specify value between minimum value to maximum value.

# --min-value=BALIOA

Ezarri gutxieneko balioa. (Lehenetsia: 0)

# --max-value=BALIOA

Ezarri gehieneko balioa. (Lehenetsia: 0)

# --step=BALIOA

Set step size. (Default: 1)

# --print-partial

Print value to standard output, whenever a value is changed.

# --hide-value

Hide value on dialog.

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

#!/bin/sh

VALUE=`zenity --scale --text="Select window transparency." --value=50`

case $? in 0) echo "You selected $VALUE%.";; 1) echo "No value selected.";; -1) echo "An unexpected error has occurred.";; esac

# Scale Dialog Example

Zenity
scale dialog example