Re: [Tutor] Help me with this Tkinter code

2006-10-11 Thread Michael Lange
On Tue, 10 Oct 2006 23:32:57 +0100 "Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote: > The error message is as under: > > > *Microsoft Visual C++ Runtime Library* > > * Runtime Error! > Program: C:\python\Lib\site-packages\pythonwin\Pythonwin.exe* > > * This application has requested the Runtime

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread Alan Gauld
> yeh, I am using IDLE. > why, is it a problem?? IDLE is a Tkinter program. So you are trying to run a Tkinter program inside a Tkinter program which can confuse things. The latest versions of IDLE are a lot better but I stilll strongly recommend running any Tkinter , indeed any GUI) programme, fr

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread Asrarahmed Kadri
The error message is as under:   Microsoft Visual C++ Runtime Library  Runtime Error! Program: C:\python\Lib\site-packages\pythonwin\Pythonwin.exe  This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more inforamtion.Any i

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread John Fouhy
On 11/10/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > shouldn't you mainloop your root? By convention, you should, but you don't have to. mainloop is mainloop; calling it on root just makes it easy to find. -- John. ___ Tutor maillist - Tutor@

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread Asrarahmed Kadri
yeh, I am using IDLE. why, is it a problem??  On 10/10/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Asrarahmed Kadri wrote:>>> Folks,>> Just started to get my feet wet with basics of Tkinter Programming. > Here is a code which is giving me some problem; when I run it, it> displays me the button

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread Asrarahmed Kadri
i changed the code from widget.mainloop() to root.mainloop(); but still its not working     On 10/10/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: yeh, I am using IDLE. why, is it a problem??  On 10/10/06, Luke Paireepinart <[EMAIL PROTECTED] > wrote: Asrarahmed Kadri wrote:>>> Folks,>> Just s

Re: [Tutor] Help me with this Tkinter code

2006-10-10 Thread Luke Paireepinart
Asrarahmed Kadri wrote: > > > Folks, > > Just started to get my feet wet with basics of Tkinter Programming. > Here is a code which is giving me some problem; when I run it, it > displays me the button widget, but when I click it, the window doesn't > goes away. the program gets stuck up.

[Tutor] Help me with this Tkinter code

2006-10-10 Thread Asrarahmed Kadri
    Folks,   Just started to get my feet wet with basics of Tkinter Programming. Here is a code which is giving me some problem; when I run it, it displays me the button widget, but when I click it, the window doesn't goes away. the program gets stuck up. Can anyone help me to resolve this issue??