Use the
Kalenteri-ikkuna tarjoaa seuraavat valitsimet:
Määrittää tekstin, joka näkyy kalenteri-ikkunassa.
Specifies the day that is selected in the calendar dialog. day must be a number between 1 and 31 inclusive.
Specifies the month that is selected in the calendar dialog. month must be a number between 1 and 12 inclusive.
Määrittää vuoden, joka on aluksi valittuna kalenteri-ikkunassa.
Specifies the format that is returned from the calendar dialog after date selection. The default format depends on your locale. Format must be a format that is acceptable to the
The following example script shows how to create a calendar dialog:
#!/bin/sh
if zenity --calendar \
--title="Select a Date" \
--text="Click on a date to select that date." \
--day=10 --month=8 --year=2004
then echo $?
else echo "No date selected"
fi