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
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
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
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
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
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
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
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,