Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-20 Thread Ned Deily
In article , Russell Owen wrote: > I don't think Python 2.7 is compatible with Tk 8.6. Have you tried 8.5? > > I thought Python 3 was intended to be used with Tk 8.6 but this page > suggests otherwise: > Current versions of Python 2.7.x and 3.4.x ar

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-19 Thread Russell Owen
On 2/19/15 8:22 AM, Paul Malherbe wrote: On 19/02/2015 18:12, Serhiy Storchaka wrote: On 17.02.15 17:41, Paul Malherbe wrote: Running this displays the following error: Traceback (most recent call last): File "test.py", line 6, in grid_info = e.grid_info() File "/usr/lib/python

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-19 Thread Paul Malherbe
On 19/02/2015 18:12, Serhiy Storchaka wrote: > On 17.02.15 17:41, Paul Malherbe wrote: >> Running this displays the following error: >> >> Traceback (most recent call last): >>File "test.py", line 6, in >> grid_info = e.grid_info() >>File "/usr/lib/python2.7/lib-tk/Tkinter.py", line

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-19 Thread Serhiy Storchaka
On 17.02.15 17:41, Paul Malherbe wrote: Running this displays the following error: Traceback (most recent call last): File "test.py", line 6, in grid_info = e.grid_info() File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 2000, in grid_info self.tk.call('grid', 'info', self._w))

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Michael Lange
Hi Paul, On Wed, 18 Feb 2015 20:52:06 +0200 Paul Malherbe wrote: > Hi Michael > > I tried using wantobjects=False but found that it broke too many other > things like e.g. cget['size'], cget['width'], Treeview selection and > some others. I found that in this case it was easier to create my own

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Paul Malherbe
Hi Michael I tried using wantobjects=False but found that it broke too many other things like e.g. cget['size'], cget['width'], Treeview selection and some others. I found that in this case it was easier to create my own geom_info function. Paul On 18/02/2015 19:04, Michael Lange wrote: > On Wed

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Michael Lange
On Wed, 18 Feb 2015 14:49:14 +0200 Paul Malherbe wrote: > Hi Jeff > > The problem seems to have occurred with version 2.7.6 of python in > linux. I always found it impossible to predict the occurence of these TclObjects, it seems to me that they depend on a combination of Python and Tcl/Tk vers

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-18 Thread Paul Malherbe
Hi Jeff The problem seems to have occurred with version 2.7.6 of python in linux. Paul Signature On 17/02/2015 22:31, Jeff Epler wrote: > Not reproduced on: > Python 2.7.3 (default, Mar 13 2014, 11:03:55) > [GCC 4.7.2] on linux2 > (Debian Wheezy amd64 with python 2.7.3-6+deb7u2, tcltk 8.

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Paul Malherbe
Hi Definitely the same problem and the solution helped. Thanks, Paul Signature On 17/02/2015 22:51, inq1ltd wrote: > Paul, > > Try this link, sounds like the same problem > that you have. > > https://mail.python.org/pipermail/tkinter-discuss/2013-December/003538.html > > > jimonlinux > inq1...

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Jeff Epler
Not reproduced on: Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2] on linux2 (Debian Wheezy amd64 with python 2.7.3-6+deb7u2, tcltk 8.5.11-2) $ python /tmp/Malherbe.py row: 0 column: 0 Jeff ___ Tkinter-discuss mailing list Tkinter-di

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread inq1ltd
Paul, Try this link, sounds like the same problem that you have. https://mail.python.org/pipermail/tkinter-discuss/2013-December/003538.html jimonlinux inq1...@inqvista.com On Tuesday, February 17, 2015 07:28:37 PM Paul Malherbe wrote: > No > > I want to store the info detail so that if

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread Paul Malherbe
No I want to store the info detail so that if I later forget the widget I can restore it to the same position using the stored details. Paul On 17/02/2015 18:55, inq1ltd wrote: > Paul, > Are you trying to create a loop to add entry > fields to a form? > > jimonlinux > inq1...@inqvista.com >

Re: [Tkinter-discuss] Tkinter grid_info()

2015-02-17 Thread inq1ltd
Paul, Are you trying to create a loop to add entry fields to a form? jimonlinux inq1...@inqvista.com On Tuesday, February 17, 2015 05:41:36 PM Paul Malherbe wrote: > Please could someone tell me why this is > not working? > > from Tkinter import * > > root = Tk() > e = Entry(root) > e.gri