Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Placing entry widgets on a canvas in Tkinter (http://www.velocityreviews.com/forums/t319023-re-placing-entry-widgets-on-a-canvas-in-tkinter.html)

=?ISO-8859-1?Q?Mickel_Gr=F6nroos?= 06-30-2003 01:02 PM

Re: Placing entry widgets on a canvas in Tkinter
 
> 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




All times are GMT. The time now is 11:59 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.