From 9a47a0460792a1c7447cff0dfe1059877da87be2 Mon Sep 17 00:00:00 2001 From: nagai Date: Wed, 25 Jun 2003 05:49:10 +0000 Subject: [PATCH] tkcanvas.rb : * Although requiring manual control of GC, memory eating problem of TkCanvas Items is fixed. Probably, a time when GC should run is only after removing many canvas items. GC's cost is large and the man who knows proper timing to start GC is the man who create the script. So, Ruby/Tk doesn't start GC automatically. tktext.rb : * add some methods and bug fix tk.rb : * add widget destroy hook binding to TkBindTag::ALL git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk.rb | 14 +++- ext/tk/lib/tkcanvas.rb | 9 +++ ext/tk/lib/tktext.rb | 145 ++++++++++++++++++++++++++++++----------- 3 files changed, 128 insertions(+), 40 deletions(-) diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index d7531b2f8f..6d8618a58a 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -3088,7 +3088,9 @@ class TkObject