From d5d0536378d4494ec89ab3a24ae61863bc08c91a Mon Sep 17 00:00:00 2001 From: ocean Date: Fri, 8 Apr 2005 15:08:45 +0000 Subject: * ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/sample/tkextlib/treectrl/imovie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/tk/sample') diff --git a/ext/tk/sample/tkextlib/treectrl/imovie.rb b/ext/tk/sample/tkextlib/treectrl/imovie.rb index 45d30060d..d61bf9a7c 100644 --- a/ext/tk/sample/tkextlib/treectrl/imovie.rb +++ b/ext/tk/sample/tkextlib/treectrl/imovie.rb @@ -116,7 +116,7 @@ def iMovieButton1(w, x, y) ent.place(:y=>y1 - 1) end ent.selection_clear - x1, y1, x2, y2 = t.item_bbox(i) + x1, y1, x2, y2 = w.item_bbox(i) ent.place(:x=>x1 + 1, :width=>x2 - x1 - 5) puts "@#{x - (x1 + 1)}" # ent.icursor = ent.index("@#{x - (x1 + 1)}") -- cgit