1. Home
  2. Computing & Technology
  3. Ruby

Tk Widgets

By Amanda & Michael Morin, About.com

1 of 6

Tk Widgets

Example Tk Application

GUI applications can do an inordinate number of things, but it's best to begin with basic applications. This article will address one of the most basic of GUI applications, a program that adds two numbers together. Each step builds on the previous step, slowly adding to the program until it becomes complete. We'll begin by first adding widgets, then arranging them using the packing algorithm, and finally tying it all together by making the button add the numbers and display the result.

Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. GUI
  5. Tk
  6. Tk Widgets

©2009 About.com, a part of The New York Times Company.

All rights reserved.