Canvas text - clipping instead of wrapping

richard_chamberlain at my-deja.com richard_chamberlain at my-deja.com
Wed Jul 19 07:12:48 EDT 2000


Hi Horst,

text.config(wrap=NONE)

The options are NONE,WORD or CHAR.

Richard

In article <397583B4.52066F4E at proceryon.at>,
  Horst Gassner <horst at proceryon.at> wrote:
> Hello!
>
> (using Tkinter)
> Maybe a (too) simple question but I can not find the answer :-(
> Is it possible to clip text inside the canvas text item? The default
> behavior is wrapping text if the width attribute is set but I don't
like
> this in my special case.
>
> If clipping is not possible - which is the best workaround for doing
> this?
>
> Thank you in advance
> Horst
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list