1999-08-13 01:37:52 -04:00
|
|
|
#
|
|
|
|
# tkclass.rb - Tk classes
|
|
|
|
# $Date$
|
|
|
|
# by Yukihiro Matsumoto <matz@caelum.co.jp>
|
|
|
|
|
|
|
|
require "tk"
|
|
|
|
|
|
|
|
TopLevel = TkToplevel
|
|
|
|
Frame = TkFrame
|
|
|
|
Label = TkLabel
|
|
|
|
Button = TkButton
|
2000-11-27 04:23:38 -05:00
|
|
|
Radiobutton = TkRadioButton
|
|
|
|
Checkbutton = TkCheckButton
|
1999-08-13 01:37:52 -04:00
|
|
|
Message = TkMessage
|
|
|
|
Entry = TkEntry
|
|
|
|
Text = TkText
|
|
|
|
Scale = TkScale
|
|
|
|
Scrollbar = TkScrollbar
|
|
|
|
Listbox = TkListbox
|
|
|
|
Menu = TkMenu
|
|
|
|
Menubutton = TkMenubutton
|
|
|
|
Canvas = TkCanvas
|
|
|
|
Arc = TkcArc
|
|
|
|
Bitmap = TkcBitmap
|
|
|
|
Line = TkcLine
|
|
|
|
Oval = TkcOval
|
|
|
|
Polygon = TkcPolygon
|
|
|
|
Rectangle = TkcRectangle
|
|
|
|
TextItem = TkcText
|
|
|
|
WindowItem = TkcWindow
|
|
|
|
Selection = TkSelection
|
|
|
|
Winfo = TkWinfo
|
|
|
|
Pack = TkPack
|
|
|
|
Variable = TkVariable
|
|
|
|
|
|
|
|
def Mainloop
|
|
|
|
Tk.mainloop
|
|
|
|
end
|