Re: [Tutor] Buttons

2013-05-27 Thread Alan Gauld
On 27/05/13 15:17, Jack Little wrote: Is there a way to make buttons a little like a raw_input in the context when the user presses the button, the program performs a function? Yes, but its a lot more complicated than raw_input. See the GUI topic of my tutorial for examples. Also check out th

[Tutor] Buttons

2013-05-27 Thread Jack Little
Is there a way to make buttons a little like a raw_input in the context when the user presses the button, the program performs a function?___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailma

Re: [Tutor] Buttons automatically executing

2005-06-15 Thread Danny Yoo
On Wed, 15 Jun 2005, Phillip Hart wrote: > Thanks for taking the time to read this. > > Excuse me if this falls under the boundaries of a "newbie" question, as > I am a self-taught programmer. Hi Phillip, It's a "newbie" question. But that's perfectly ok. *grin* > While using Tkinter to cr

Re: [Tutor] Buttons automatically executing

2005-06-15 Thread Michael Lange
On Wed, 15 Jun 2005 14:31:55 -0500 Phillip Hart <[EMAIL PROTECTED]> wrote: Hi Phillip, > #!usr/bin/python > > from Tkinter import * > > def location(x,y): > print "I am in row ",x," and column ",y > > > root=Tk() > root.geometry('300x300') > can=Canvas(root,width=250, height=250) > > bimage

[Tutor] Buttons automatically executing

2005-06-15 Thread Phillip Hart
Thanks for taking the time to read this. Excuse me if this falls under the boundaries of a "newbie" question, as I am a self-taught programmer. While using Tkinter to create buttons, something unexpected happens when the button commands call functions.  Namely, when I run the following, it immedi

[Tutor] buttons, scrollbar, tkinter

2005-05-19 Thread Ron Alvarado
I was trying to put buttons in, but now I know why it wouldn't work. I'm going to take a look at PMW. Thanks. Ron A ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] buttons, scrollbar, tkinter

2005-05-18 Thread jfouhy
Quoting Ron Alvarado <[EMAIL PROTECTED]>: > Is there any way to change this to put in a column of buttons and it > will scroll like it does now. I've tried but when I put in the buttons the > scrollbar just grows with all the buttons and won't do anything. I'm not exactly sure what you're after h

[Tutor] buttons, scrollbar, tkinter

2005-05-18 Thread Ron Alvarado
Is there any way to change this to put in a column of buttons and it will scroll like it does now. I've tried but when I put in the buttons the scrollbar just grows with all the buttons and won't do anything. from Tkinter import * root = Tk() scrollbar = Scrollbar(root) scrollbar.pack(side=RIGHT,