Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Placing entry widgets on a canvas in Tkinter

Reply
Thread Tools

Re: Placing entry widgets on a canvas in Tkinter

 
 
=?ISO-8859-1?Q?Mickel_Gr=F6nroos?=
Guest
Posts: n/a
 
      06-30-2003
> try this:
>
> canvas.create_window(x, y, window=widget, anchor=NW)


Yep. I realized this was an alternative, just after I posted my question.
(I should learn to think first and bother other people later ...)
"create_window" does really solve my problem rather completely, it seems
so now anyway.

> an alternative solution is to implement text editing for text items;
> see
>
> http://effbot.org/guides/editing-canvas-text-items.htm


I tried your code from this page earlier, but decided to go for a
different approach as I want the entry field to be of fixed size.

Anyway, thanks Fredrik for your help!

/Mickel

--
Mickel Grönroos, application specialist, linguistics, Research support, CSC
PL 405 (Tekniikantie 15 a D), 02101 Espoo, Finland, phone +358-9-4572237
CSC is the Finnish IT center for science, www.csc.fi


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tkinter bug in Entry widgets on OS X Arnaud Delobelle Python 7 09-01-2012 12:56 PM
python strings and {} in Tkinter entry widgets Chris Hare Python 2 08-16-2010 05:11 PM
Tkinter Entry widgets 'font' property (API ?) changed in Python 2.5.2? Atul Python 2 08-09-2008 07:51 AM
Placing Sets of Ruby/Tk Widgets David Bailey Ruby 3 04-03-2006 01:30 PM
Placing entry widgets on a canvas in Tkinter =?ISO-8859-1?Q?Mickel_Gr=F6nroos?= Python 0 06-30-2003 12:34 PM



Advertisments