1. Technology

"Hello, World!" in Python With Tkinter

By

4 of 10

A Prototypical Greeter

As mentioned previously, graphic user interface (GUI) programming relies heavily on object-oriented principles. In the case of our program, we need to define a class that will then be called by the main function.

We are using the Tkinter toolkit and not recreating it, so we will create an inherited class that relies on Tkinter's Frame class.


class Greeter (Frame):
From there, we will next define functions for each window or frame that we want our program to create.

  1. About.com
  2. Technology
  3. Python
  4. Advanced Python
  5. Python Graphic Interface - Tkinter - Programming Tkinter - Python GUI Programming - Prototyping With a Class

©2014 About.com. All rights reserved.