seaside it worked fine. Thanks for that. I couldn't find any reference to "decorated" in my search on the web.seaside wrote:smokey01,
Something like this-This would give you a window that couldn't be closed by mouse action (but could be by key combination alt-f4) and still allow moving the window by alt-lclick.Code: Select all
export PSIPPY=' <window decorated="false"> <vbox> <frame PSIPPY wrapper> <tree> <label>PSIPPY</label> <height>250</height><width>200</width> <variable>PSIPPY</variable> <input>echo "PSIPPY dialog here"</input> </tree> </frame> <hbox> <button> <input file icon="gtk-quit"></input> <label>Quit</label> <action>echo "shut down code here"</action> </button> </hbox> </vbox></window>' gtkdialog3 -p PSIPPY
NOTE: I haven't looked at PSIPPY, so I don't know if you can even put a wrapper or a helper script around it.
Regards,
s
EDIT: Just had a chance to look at PSIPPY and the code would look like thisCode: Select all
export DIALOG=' <window decorated="false" window-position="1" icon-name="gtk-yes" width="800" BackgroundColor="ffffff">
I think it would be nice to make it close fully from the X but your solution will do fine for the moment.
I might also remove, or hide from noobs, the other shut down options under the file menu.
It might be best to keep the options very limited for simplicity.