On Wed, Nov 30, 2011 at 8:32 AM, Cranky Frankie <cranky.fran...@gmail.com>wrote:
> Peter Otten <__pete...@web.de> wrote: > <snip>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 program is > really just a learning exercise and to show database adminstrators a > simple Python GUI application I can live with it. > The whole purpose of the Message widget is that it *does* resize. If you wanted something to be a static size, I think a Label would fit the bill - though I haven't played around enough with that in recent time. > > 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.x I'd really like to > know about it. > > That's the great thing about Python - most of the syntax is identical, and there should be only minor differences between Python 2.x and 3.x - especially where Tkinter is concerned. I would go ahead and look at 2.x tutorials/articles for Tkinter and just be aware that you'll encounter some issues (probably mostly dealing with Unicode strings, and occasionally something numeric - based on my experience). With that preparation then you should be able to easily search for answers to the problems you encounter. HTH, Wayne
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor