Zenity is the best tool for creating GUI for shell scripts.

for example -

szDate=$(zenity --calendar --text "Pick a day" --title "Medical Leave"
--day 23 --month 5 --year 2008); echo $szDate

will open a datepicker dialog box. like this.

[image: zenity calendar dialog]



Other use
** Date Picker
** File Picker
** Display warning
** Asking yes/no questions
** Display Processbar
**

Have a look at this tutorial -

http://linux.byexamples.com/archives/259/a-complete-zenity-dialog-examples-1/
http://linux.byexamples.com/archives/259/a-complete-zenity-dialog-examples-2/
http://www.linuxjournal.com/content/make-your-scripts-user-friendly-zenity

-- 
┌─────────────────────────┐
│    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│    Society for Knowledge Commons
│    Web : http://narendra.techfandu.org
└─────────────────────────┘

-- 
l...@iitd - http://tinyurl.com/ycueutm

To unsubscribe, reply using "remove me" as the subject.

Reply via email to