[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Looking for a lazy gui



On Wed, 01 Oct 2008 06:22:22 +0000, T o n g wrote:

> If python is not a must-have, and you want something even simpler, give
> gtkdialog a try.

If that is still not simple enough, install tk and try the following 
script:

---------------------------------------------------
#! /bin/sh 
# -*- tcl -*- make next line a commnet in tcl \
exec wish -f $0 -- ${1+"$@"}            # must be the next line

button .a -padx 15 -pady 5 -text "wkpks00a" -command "exec xterm -e 
rlogin wkpks00a &"
pack .a -padx 4 -pady 2 -fill x
button .b -padx 15 -pady 5 -text "wk" -command "exec xterm -e rlogin 
wkpks00a &"
pack .b -padx 4 -pady 2 -fill x
button .c -padx 15 -pady 5 -text "wkpks00v" -command "exec xterm -e 
rlogin wkpks00a &"
pack .c -padx 4 -pady 2 -fill x
---------------------------------------------------


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: