1# 2# tkclass.rb - Tk classes 3# Date: 2000/11/27 09:23:36 4# by Yukihiro Matsumoto <matz@caelum.co.jp> 5# 6# $Id: tkclass.rb 25189 2009-10-02 12:04:37Z akr $ 7 8require "tk" 9 10TopLevel = TkToplevel 11Frame = TkFrame 12Label = TkLabel 13Button = TkButton 14Radiobutton = TkRadioButton 15Checkbutton = TkCheckButton 16Message = TkMessage 17Entry = TkEntry 18Spinbox = TkSpinbox 19Text = TkText 20Scale = TkScale 21Scrollbar = TkScrollbar 22Listbox = TkListbox 23Menu = TkMenu 24Menubutton = TkMenubutton 25Canvas = TkCanvas 26Arc = TkcArc 27Bitmap = TkcBitmap 28Line = TkcLine 29Oval = TkcOval 30Polygon = TkcPolygon 31Rectangle = TkcRectangle 32TextItem = TkcText 33WindowItem = TkcWindow 34BitmapImage = TkBitmapImage 35PhotoImage = TkPhotoImage 36Selection = TkSelection 37Winfo = TkWinfo 38Pack = TkPack 39Grid = TkGrid 40Place = TkPlace 41Variable = TkVariable 42Font = TkFont 43VirtualEvent = TkVirtualEvent 44 45def Mainloop 46 Tk.mainloop 47end 48