[Tkinter-discuss] How to direct a text on Tkinter

Michael O'Donnell michael.odonnell at uam.es
Sun Aug 16 09:05:10 CEST 2009


For Vertical/Diagonal text:
In Tcl/Tk 8.6, the Canavs widget allows text to be rotated 90 degrees
(or other angle).

Now, Python is still using 8.5 I believe. Does anyone know whether if you
compile Python with only Tcl/Tk 8.6 installed, the resulting system will work?

Mick

On Sun, Aug 16, 2009 at 3:40 AM, Wayne<srilyk at gmail.com> wrote:
> On Fri, Aug 14, 2009 at 1:27 PM, papieminem <papieminem at yahoo.fr> wrote:
>>
>> HI
>> On Tkinter we can only write from left to right.
>> How to do , if we want to write from right to left for exmple or
>> Vertically
>> or Diagonally.
>> Thank
>
> You'd have to reverse your text and align it to the right side. Vertically
> you'll need newlines after every character, and diagonally you'll need
> newlines+spaces.
> HTH,
> Wayne
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>


More information about the Tkinter-discuss mailing list