[Tutor] Buttons

Alan Gauld alan.gauld at btinternet.com
Mon May 27 21:13:03 CEST 2013


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 the EasyGUI package for an easy way to add GUI style 
dialog boxes to an otherwise console based app. (see my "Talking to the 
User" topic in my V3 tutorial for more on EasyGUI)

HTH
-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list