From d2a9e77748684e786af9525e258aee98c8ff2a8d Mon Sep 17 00:00:00 2001 From: nagai Date: Thu, 10 Mar 2005 10:13:30 +0000 Subject: * ext/tk/tcltklib.c (lib_eventloop_ensure): mis-delete a timer handler when exit from a recursive called eventloop * ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a realtime operation * ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class * ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to TkText::IndexModMethods * ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and add them to TkText::IndexModMethods module * ext/tk/sample/tktextio.rb: add test part of "seek by text index modifiers" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tk/grid.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/tk/lib/tk/grid.rb') diff --git a/ext/tk/lib/tk/grid.rb b/ext/tk/lib/tk/grid.rb index 499101f1bb..10fdf3569b 100644 --- a/ext/tk/lib/tk/grid.rb +++ b/ext/tk/lib/tk/grid.rb @@ -158,13 +158,13 @@ module TkGrid list(tk_call_without_enc('grid', 'location', master, x, y)) end - def propagate(master, bool=None) + def propagate(master, mode=None) # master = master.epath if master.kind_of?(TkObject) master = _epath(master) - if bool == None + if mode == None bool(tk_call_without_enc('grid', 'propagate', master)) else - tk_call_without_enc('grid', 'propagate', master, bool) + tk_call_without_enc('grid', 'propagate', master, mode) end end -- cgit v1.2.3