Type:
Class

# label msg = TkLabel.new($goldberg_demo) {

font 'Arial 10'
wraplength '4i'
justify 'left'
text "This is a demonstration of just how complex you can make your animations become. Click the ball to start things moving!\n\n\"Man will always find a difficult means to perform a simple task\"\n - Rube Goldberg"

} msg.pack('side'=>'top')

# frame TkFrame.new($goldberg_demo) {|frame|

TkButton.new(frame) {
  text 'Dismiss'
  command proc{
    tmppath = $goldberg_demo
    $goldberg_demo = nil
    tmppath.destroy
  }
}.pack('side'=>'left', 'expand'=>'yes')

TkButton.new(frame) {
  text 'See Code'
  command proc{showCode 'goldberg'}
}.pack('side'=>'left', 'expand'=>'yes')

}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')

#########################################

# label msg = TkLabel.new($goldberg_demo) {

font 'Arial 10'
wraplength '4i'
justify 'left'
text "これは、あなたが自分のアニメーションをいかに入り組んだものにできるかを示すというだけのためのデモです。ボールをクリックすれば物が動き始めます!\n\n\"Man will always find a difficult means to perform a simple task\"\n - Rube Goldberg"

} msg.pack('side'=>'top')

# frame TkFrame.new($goldberg_demo) {|frame|

TkButton.new(frame) {
  text '閉じる'
  command proc{
    tmppath = $goldberg_demo
    $goldberg_demo = nil
    tmppath.destroy
  }
}.pack('side'=>'left', 'expand'=>'yes')

TkButton.new(frame) {
  text 'コード参照'
  command proc{showCode 'goldberg'}
}.pack('side'=>'left', 'expand'=>'yes')

}.pack('side'=>'bottom', 'fill'=>'x', 'pady'=>'2m')

#########################################

move14

move14(step = nil) Instance Public methods

2015-06-05 17:15:48
move5

move5(step = nil) Instance Public methods

2015-06-05 18:30:21
draw3

draw3() Instance Public methods Weight and pulleys

2015-06-05 16:07:06
move0

move0(step = nil) Instance Public methods

2015-06-05 16:44:30
draw0

draw0() Instance Public methods START HERE! banner

2015-06-05 14:32:05
move15

move15(step = nil) Instance Public methods

2015-06-05 17:21:44
reset_step

reset_step() Instance Public methods

2015-06-05 19:14:21
move11

move11(step = nil) Instance Public methods

2015-06-05 17:01:45
move2

move2(step = nil) Instance Public methods

2015-06-05 17:44:17
do_ctrl_frame

do_ctrl_frame() Instance Public methods

2015-06-05 14:26:15