Results 1 to 3 of 3
Hello,
I have written some scripts that query the user and waits for keyboard input for an answer. I was wondering if there is any generic code snippets out there ...
- 06-29-2008 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 19
gui text box code snippet?
Hello,
I have written some scripts that query the user and waits for keyboard input for an answer. I was wondering if there is any generic code snippets out there that would allow me to run this as a GUI. I am thinking of a simple dialogue box that would display the question and have a text entry field.
I would like to hear of any and all options or ideas on this. I am open to writing the programs in Perl, or C if that is what it takes to implement this.
Thank you,
- 06-29-2008 #2
Hello,
I am not sure what you mean by "generic code snippeds" but if you just want to have some dialog boxes that control the behavior of your shell scripts, I recommend Tcl/Tk.
GUI Scripting with Tcl/Tk
Also, make sure you are aware of the capabilities of the 'dialog' program coming preinstalled on many GNU/Linux systems. If you happen to run GTK you will also want to learn about gdialog (now called zenity).
- 06-29-2008 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 19
what I meant by "generic code snippets" was some canned code that I could adapt without having to write the whole thing from scratch. I may be misusing the terms here, but that is what I meant.
I truly appreciate the link, and I am looking into it.
Thank you.
Allasso


Reply With Quote