diff options
author | fvogel <fvogelnew1@free.fr> | 2016-01-16 14:16:00 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-01-16 14:16:00 (GMT) |
commit | d48a10cb3142cfbefd0314439d877da5eb03b926 (patch) | |
tree | 053c4cf036feedfa853b32d1faa32d48a19a6e8e /generic/tkVisual.c | |
parent | cc44a614a3a33b8007a980a64270832c67c629f2 (diff) | |
download | tk-d48a10cb3142cfbefd0314439d877da5eb03b926.zip tk-d48a10cb3142cfbefd0314439d877da5eb03b926.tar.gz tk-d48a10cb3142cfbefd0314439d877da5eb03b926.tar.bz2 |
Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket [3f456a5bb9]).
Issue A is fixed. Test case:
package req Tk
listbox .l
.l insert end M M M M M M M M M
pack .l
.l conf -just center ; # or right
.l conf -highlightthickness 40
.l selection set 4
Regarding question 6, Tk_TextWidth is a bit lower level function in the API, which must be slightly beneficial regarding performance. Tk_TextWidth is therefore preferred.
Diffstat (limited to 'generic/tkVisual.c')
0 files changed, 0 insertions, 0 deletions