Re: [Tutor] tkinter message & button questions

2011-11-30 Thread Alan Gauld
On 30/11/11 14:32, Cranky Frankie wrote: The syntax you used, like "root.geometry("400x100")", I have not seen before, and I've done a lot of searching. Again, much of the tkinter stuff I see seems to be based on Python 2.6. If there is a definitive book or reference on using tkinter in Python 3

Re: [Tutor] tkinter message & button questions

2011-11-30 Thread Peter Otten
Cranky Frankie wrote: > Peter thanks again. The msg_widget is still resizing vertically > depending on the lenght of the quote, but at least now the horizontal > sizing is staying the same. Ideally the msg_widget would be the *same > size*, no matter what the quote length is, but since this progra

Re: [Tutor] tkinter message & button questions

2011-11-30 Thread Wayne Werner
On Wed, Nov 30, 2011 at 8:32 AM, Cranky Frankie wrote: > Peter Otten <__pete...@web.de> wrote: > Peter thanks again. The msg_widget is still resizing vertically > depending on the lenght of the quote, but at least now the horizontal > sizing is staying the same. Ideally the msg_widget would be the

[Tutor] tkinter message & button questions

2011-11-30 Thread Cranky Frankie
Peter Otten <__pete...@web.de> wrote: To: tutor@python.org Subject: Re: [Tutor] tkinter message & button questions Message-ID: Content-Type: text/plain; charset="ISO-8859-1" <> Peter thanks again. The msg_widget is still resizing vertically depending on the lenght of t

Re: [Tutor] tkinter message & button questions

2011-11-29 Thread Peter Otten
Cranky Frankie wrote: > I changed the quote program to use the grid manager: > > http://www.pastie.org/2939778 > > Still, the message widget box keeps resizing based on the length of > the quote. I'm thinking it has to be something to do with the message > widget itself, not the pack vs. grid ma

[Tutor] tkinter message & button questions

2011-11-29 Thread Cranky Frankie
I changed the quote program to use the grid manager: http://www.pastie.org/2939778 Still, the message widget box keeps resizing based on the length of the quote. I'm thinking it has to be something to do with the message widget itself, not the pack vs. grid manager. When I research this I find t

Re: [Tutor] tkinter message & button questions

2011-11-28 Thread Peter Otten
Cranky Frankie wrote: > I have a program I'm testing in Python 3.1 in Windows XP using tkinker > to dispay random quotes. It works except for two things. > > 1) The program displays a random quote of the day when it's invoked, > but I want to have a "Next quote" button so that additional random >

[Tutor] tkinter message & button questions

2011-11-28 Thread Cranky Frankie
I have a program I'm testing in Python 3.1 in Windows XP using tkinker to dispay random quotes. It works except for two things. 1) The program displays a random quote of the day when it's invoked, but I want to have a "Next quote" button so that additional random quotes can be displayed. Here are