diff options
Diffstat (limited to 'ext/tk/sample/tkextlib/treectrl/imovie.rb')
-rw-r--r-- | ext/tk/sample/tkextlib/treectrl/imovie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/imovie.rb b/ext/tk/sample/tkextlib/treectrl/imovie.rb index 45d30060df..d61bf9a7c3 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)}") |