diff options
Diffstat (limited to 'ext/tk/lib/tkclass.rb')
-rw-r--r-- | ext/tk/lib/tkclass.rb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ext/tk/lib/tkclass.rb b/ext/tk/lib/tkclass.rb new file mode 100644 index 0000000000..0b33d4ec8b --- /dev/null +++ b/ext/tk/lib/tkclass.rb @@ -0,0 +1,38 @@ +# +# 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 |