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

@ -26,7 +26,8 @@ TkLabel.new($menu8x_demo,'font'=>$font,'wraplength'=>'4i','justify'=>'left') {
# frame 生成
TkFrame.new($menu8x_demo) {|frame|
TkButton.new(frame) {
text 'λ²ò'
#text '了解'
text '閉じる'
command proc{
tmppath = $menu8x_demo
$menu8x_demo = nil
@ -36,7 +37,7 @@ TkFrame.new($menu8x_demo) {|frame|
TkButton.new(frame) {
text 'コード参照'
command proc{showCode 'menu'}
command proc{showCode 'menu8x'}
}.pack('side'=>'left', 'expand'=>'yes')
}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')
@ -62,7 +63,8 @@ TkFrame.new($menu8x_demo) {|frame|
# frame 生成
TkFrame.new($menu8x_demo) {|frame|
TkButton.new(frame) {
text 'λ²ò'
#text '了解'
text '閉じる'
command proc{
tmppath = $menu8x_demo
$menu8x_demo = nil
@ -72,7 +74,7 @@ TkFrame.new($menu8x_demo) {|frame|
TkButton.new(frame) {
text 'コード参照'
command proc{showCode 'menu'}
command proc{showCode 'menu8x'}
}.pack('side'=>'left', 'expand'=>'yes')
}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')