1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* renewal Ruby/Tk

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2004-05-01 16:09:54 +00:00
parent ce23680755
commit 4c4631c2da
247 changed files with 27219 additions and 11144 deletions

View file

@ -43,7 +43,8 @@ TkLabel.new($menubu_demo,'font'=>$font,'wraplength'=>'4i','justify'=>'left') {
# frame 生成
TkFrame.new($menubu_demo) {|frame|
TkButton.new(frame) {
text 'λ²ò'
#text '了解'
text '閉じる'
command proc{
tmppath = $menubu_demo
$menubu_demo = nil
@ -53,7 +54,7 @@ TkFrame.new($menubu_demo) {|frame|
TkButton.new(frame) {
text 'コード参照'
command proc{showCode 'menu'}
command proc{showCode 'menubu'}
}.pack('side'=>'left', 'expand'=>'yes')
}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')
@ -156,7 +157,8 @@ center = TkFrame.new(body) {
TkFrame.new($menubu_demo) {|frame|
TkButton.new(frame) {
text 'λ²ò'
#text '了解'
text '閉じる'
command proc {
tmppath = $menubu_demo
$menubu_demo = nil