require 'tk'
top = TkRoot.new {title "Label and Entry Widget"}
list1 = TkListbox.new(top)
list1.insert(1," Python")
list1.insert(2," Perl")
list1.insert(3," C")
list1.insert(4," PHP")
list1.insert(5," JSP")
list1.insert(6," Ruby")
list1.pack()
Tk.mainloop
用户登录
还没有账号?立即注册
用户注册
投稿取消
| 文章分类: |
|
还能输入300字
上传中....
你爱上了他的它