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 | ce4629e22197d33748eadb828146041ce07eec57 (patch) | |
| tree | 52c0101c23c8a580ba152b0430e9f11fbede1377 /ext/tk/sample/remote-ip_sample.rb | |
| parent | 3da285816949ea796deffb2f15abae9b8d0d1ae8 (diff) | |
| download | ruby-ce4629e22197d33748eadb828146041ce07eec57.tar.gz ruby-ce4629e22197d33748eadb828146041ce07eec57.tar.xz ruby-ce4629e22197d33748eadb828146041ce07eec57.zip | |
* add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/remote-ip_sample.rb')
| -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 |
