Re: [Tkinter-discuss] Learning Python/Tkinter and struggling with the text object

2016-12-09 Thread Michael Lange
Hi, On Fri, 9 Dec 2016 10:50:45 -0700 "Alan L Dickman" wrote: > Michael - This is just one example. I've tried so many version of this > program. Some run but don't update the t1 text window. Others throw an > error trying to access t1. For example, the version below throws an > error at t1.gr

Re: [Tkinter-discuss] Learning Python/Tkinter and struggling with the text object

2016-12-09 Thread Michael Lange
Hi, On Thu, 8 Dec 2016 11:00:50 -0700 "Alan L Dickman" wrote: > Thanks in advance for any help! I'm just learning Python and Tkinter. > Can anyone suggest why this program does not insert 'some text' into > text box t1 when the start button is clicked? No errors are thrown when > I run the progr

Re: [Tkinter-discuss] Control position of Tkinter common dialogs?

2016-12-09 Thread Michael Lange
Hi, On Wed, 7 Dec 2016 18:36:00 -0700 (MST) "gerard.roger.la...@free.fr" wrote: > All common dialogs appear to ignore the optional parent = parameter > > It seems it is because your code invoke the winfo_root() before the grid > manager finish is calculations. > and this command return a Null

Re: [Tkinter-discuss] Learning Python/Tkinter and struggling with the text object

2016-12-09 Thread boB Stepp
On Thu, Dec 8, 2016 at 12:00 PM, Alan L Dickman wrote: > > Thanks in advance for any help! I'm just learning Python and Tkinter. Can > anyone suggest why this program does not insert 'some text' into text box t1 > when the start button is clicked? No errors are thrown when I run the program > i

[Tkinter-discuss] Learning Python/Tkinter and struggling with the text object

2016-12-09 Thread Alan L Dickman
Thanks in advance for any help! I'm just learning Python and Tkinter. Can anyone suggest why this program does not insert 'some text' into text box t1 when the start button is clicked? No errors are thrown when I run the program in PyCharm from tkinter import * class Window(Frame): t1 = []

Re: [Tkinter-discuss] Control position of Tkinter common dialogs?

2016-12-09 Thread gerard.roger.la...@free.fr
All common dialogs appear to ignore the optional parent = parameter It seems it is because your code invoke the winfo_root() before the grid manager finish is calculations. and this command return a Null decimal string. According to Tk manual "https://www.tcl.tk/man/tcl8.4/TkCmd/winfo.htm#M52";