On Wed, 2006-05-31 at 11:37 -0400, david brochu jr wrote:
> I am trying to create a GUI that will display a new window with
> information about my program when the user clicks on the info button
> (a green "i" bitmap). So far all I can get my program to do is show
> the new window (using Toplevel() ) when the program loads, not when
> the user presses the information bitmap. I think it has something to
> do with my command for the information button. Anyone have any ideas
> or have a GOOD resource that they could point me to?
>  

Indeed the problem is to do with your command for the information
button.

Keeping it in your coding style, change it to:

self.info_bttn["command"] = self.info

Regards,

John

> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to