User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 373,485 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,938 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser:

Python GUI Problem

Join Date: Nov 2006
Posts: 23
Reputation: Haze is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Haze Haze is offline Offline
Newbie Poster

Re: Python GUI Problem

  #3  
Aug 18th, 2007
Originally Posted by jrcagle View Post

  1. root.input_text = Text(root, ...) # rest of options go in ...

Now, Python will make input_text a data member of root, which is what you wanted anyways.

Would this not mean that your just changing the variable to root.input.text should it not be like this

  1. input_text = root.Text(root, ...) # rest of options go in

Originally Posted by jrcagle View Post
Now, the second command just doesn't make sense.

  1. input_menu.add_radiobutton(label='Input From File', variable = input_option, command = [b]input_text(state = DISABLED)[/b])

What did you intend here?

The command part was intended to mean that when the button was selected it would disable the input_text widget. Should i create a function that does this then put that as the command?

thanks for the help.
Reply With Quote  
All times are GMT -4. The time now is 5:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC