From: Arjan on 4 Feb 2010 04:47 Hi! In my gui I use "entry" to specify certain file names, in combination with tk_get_OpenFile. The files can be stored 7 directories deep. As a consequence, the text showing in the entry always shows the first say 25 characters of the path, which is generally the same path for all files I want to select. I would rather see the last part of the directory/filename-string, the part that makes the difference. How to accomplish this? Arjan
From: Adrian Davis on 4 Feb 2010 05:14 > In my gui I use "entry" to specify certain file names, in combination > with tk_get_OpenFile. The files can be stored 7 directories deep. As a > consequence, the text showing in the entry always shows the first say > 25 characters of the path, which is generally the same path for all > files I want to select. I would rather see the last part of the > directory/filename-string, the part that makes the difference. How to > accomplish this? Does something like this... ..myentry xview moveto 1 ....do what you want? Best Regards, =Adrian=
From: Arjan on 4 Feb 2010 05:24 > Does something like this... > .myentry xview moveto 1 > ...do what you want? Yep! Thank you! Arjan ps. Join the club! We seem to have Arjan, Arjen and Adrian around here! ;-)
|
Pages: 1 Prev: interpreter startup in a new thread Next: stdin vs console |