mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
39 lines
655 B
Ruby
39 lines
655 B
Ruby
![]() |
#
|
||
|
# tkclass.rb - Tk classes
|
||
|
# $Date$
|
||
|
# by Yukihiro Matsumoto <matz@caelum.co.jp>
|
||
|
|
||
|
require "tk"
|
||
|
|
||
|
TopLevel = TkToplevel
|
||
|
Frame = TkFrame
|
||
|
Label = TkLabel
|
||
|
Button = TkButton
|
||
|
Radiobutton = TkRadioButton
|
||
|
Checkbutton = TkCheckButton
|
||
|
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
|