Re: OT: tcl/tk GUI app
- From: Georgios Petasis <petasisg yahoo gr>
- To: gtk-list gnome org
- Subject: Re: OT: tcl/tk GUI app
- Date: Fri, 18 Jan 2013 00:13:54 +0200
Στις 17/1/2013 23:23, ο/η Fred James έγραψε:
All
My apologies for being somewhat off topic (OT), but I don't know where
else to turn (your pointers in that arena would be appreciated as well).
I am trying to learn some GUI programming and what is readily
available to me is tck/tk, and I have a (very) little experience with it.
I want to open a dialog to choose a directory, and then put that
choice into a variable to be used by another action.
So far I can only get the dialog
set dir [tk_chooseDirectory -initialdir ~ -title "Choose a directory"]
which works fine in and of itself, of course, but I haven't been able
to use the result for anything as yet.
Any help you may be able to offer would be appreciated. Thank you
Regards
Fred James
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
if {$dir ne ""} {
# your action here...
}
What is the action you want to do?
George
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]