Re: [Tutor] A better way to do it.

2004-12-26 Thread Alan Gauld
> --- "Jacob S." <[EMAIL PROTECTED]> wrote: > > I have a couple of questions. > > 1) How do I change the title of the window? My tutors case study shows this, the critical but of code is here: class GrammarApp(Frame): def __init__(self, parent=0): Frame.__init__(self,parent) self.type =

Re: [Tutor] A better way to do it.

2004-12-25 Thread Hugo González Monteverde
The title can be changed with a method of the root window. >>> help (Tkinter.Tk.wm_title) Help on method wm_title in module Tkinter: wm_title(self, string=None) unbound Tkinter.Tk method Set the title of this widget. so you can do: mainwin.wm_title("Mytitle") Jacob S. wrote: Okay, here's the co

Re: [Tutor] A better way to do it.

2004-12-25 Thread Aztech Guy
Hi Jacob, Since your class derives from Frame, check Frame for methods to change the title. If that doesn't work, try this: Tkinter is based on Tk (which works with TCL). So try posting your question on comp.lang.tcl. You can do this via Google Groups: groups.google.com. You need to register once

[Tutor] A better way to do it.

2004-12-20 Thread Jacob S.
Okay, here's the code. I am completely open to suggestions as this is my first dabbling in Tk. Please look over it when you have time. I have a couple of questions. 1) How do I change the title of the window? 2) Why does a window pop up saying something like error, the memory could not be "read".