diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-22 02:23:59 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-22 02:23:59 +0000 |
| commit | eb51d43e9e029b124565f1428ecb72cec5cd3b85 (patch) | |
| tree | 3e6d9029425a4245a0bbed87da4e62fbb33bd0f6 /ext/tk/sample | |
| parent | 7c86f44283b5b88123651ed550268d646d9d657b (diff) | |
| download | ruby-eb51d43e9e029b124565f1428ecb72cec5cd3b85.tar.gz ruby-eb51d43e9e029b124565f1428ecb72cec5cd3b85.tar.xz ruby-eb51d43e9e029b124565f1428ecb72cec5cd3b85.zip | |
* add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample')
| -rw-r--r-- | ext/tk/sample/remote-ip_sample.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/remote-ip_sample.rb b/ext/tk/sample/remote-ip_sample.rb index 3a2dbe485..3c153e94f 100644 --- a/ext/tk/sample/remote-ip_sample.rb +++ b/ext/tk/sample/remote-ip_sample.rb @@ -16,7 +16,7 @@ unless (wish = TkWinfo.interps.find{|ip| ip =~ /^wish/}) end ip = RemoteTkIp.new(wish) -ip.eval_proc{TkButton.new(:command=>proc{puts 'This procesure is on the controller-ip (Rubh/Tk)'}, :text=>'print on Ruby/Tk (controller-ip)').pack(:fill=>:x)} +ip.eval_proc{TkButton.new(:command=>proc{puts 'This procesure is on the controller-ip (Ruby/Tk)'}, :text=>'print on Ruby/Tk (controller-ip)').pack(:fill=>:x)} ip.eval_proc{TkButton.new(:command=>'puts {This procesure is on the remote-ip (wish)}', :text=>'print on wish (remote-ip)').pack(:fill=>:x)} # If your remote-ip is Ruby/Tk, you can control the remote Ruby by |
