Python4Kids New Tutorial: Almost There! Adding Methods to Our Classes
Mar 23, 2012, 07:02 (0 Talkback[s])
(Other stories by Brendan Scott)
[ Thanks to Brendan Scott for this
link. ]
"There are two more things to do with our Minecraft config file
editor before we?ve got the main part of it working (we may do some
tweaking later). We need to:
add the Ok and Cancel buttons back; and
when someone clicks Ok, we need to update the server.properties
file
"We?re doing the first of these today. We saw earlier how to do
the Ok and Cancel buttons, although at the time we didn?t actually
put any meat in the functions they called. So, let?s fill that out
now. For Cancel, we are just going to quit the editor without
making any changes ? that?s pretty easy."
Complete Story
Related Stories:
- Python4Kids New Tutorial: Class Inheritance(Mar 17, 2012)
- Python4Kids New Tutorial: Tkinter Text Widget and Frames(Mar 07, 2012)
- Python4Kids New Tutorial: MineCraft config editor part 2(Feb 29, 2012)
- Python4Kids New Tutorial: Starting our Config Editor(Feb 22, 2012)
- Python4Kids New Tutorial: Recap Part 2 - Tkinter(Feb 14, 2012)
- Python4Kids New Tutorial: Welcome back, Class Recap(Feb 08, 2012)
- Python4Kids: Classy Methods, a Sense of Self (Classes Part 2)(Oct 17, 2011)
- Python4Kids: New Tutorial - Classy Attributes(Sep 27, 2011)
- Python4Kids New Tutorial: Side Track � Global and Local Variables(Sep 03, 2011)
- Python4Kids: New Tutorial - Really GUI (more on Buttons, images and handlers)(Aug 22, 2011)