Re: Underlining text on canvas
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Underlining text on canvas

From: Helmut Giese <hgiese@ratiosoft.com>
Date: Sat Dec 31 2005 - 00:51:04 CET

On 30 Dec 2005 15:17:23 -0800, "bluetit" <capricious.falcon@gmail.com>
wrote:

>No, the canvas items don't have a -underline option.
>But thanks anyway :)

Sorry,
but you _could_ of course put a text widget on the canvas (setting -bd
to 0 will remove any border line, so you just have a white area where
you can place text - probably no visual difference to a canvas' text
item).
Is the user supposed to interact with the text you display (like
clicking on it) ? Then a text widget might make life actually a bit
easier.
If not, you would probably want to disable the text widget after
updating it (else adventurous users will start putting text into it).
Good luck
Helmut Giese
Received on Tue Jan 3 03:09:54 2006