diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 08:44:55 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 08:44:55 +0000 |
| commit | a50a6582ff34aabe45a97530a127b52a9ad53511 (patch) | |
| tree | 08e9410ac38b9d3a2780f4ebca96bfc6edeb7a2a /ext/tk/sample/tkextlib/tktable/debug.rb | |
| parent | a937ea5c991407a49ef39947b68c3c39992a5f35 (diff) | |
| download | ruby-a50a6582ff34aabe45a97530a127b52a9ad53511.tar.gz ruby-a50a6582ff34aabe45a97530a127b52a9ad53511.tar.xz ruby-a50a6582ff34aabe45a97530a127b52a9ad53511.zip | |
* ext/tcltklib/tcltklib.c: add TclTkIp#_create_console() method to
create a Tcl/Tk's console window.
* ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method.
* ext/tk/lib/remote-tk.rb: ditto.
* ext/tk/lib/tk/console.rb: ditto.
* ext/tk/lib/tk.rb: update RELEASE_DATE
* ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object.
* ext/tk/sample/tkextlib/**: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkextlib/tktable/debug.rb')
| -rw-r--r-- | ext/tk/sample/tkextlib/tktable/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/tktable/debug.rb b/ext/tk/sample/tkextlib/tktable/debug.rb index 3200c1c77..d5cd5e49b 100644 --- a/ext/tk/sample/tkextlib/tktable/debug.rb +++ b/ext/tk/sample/tkextlib/tktable/debug.rb @@ -29,7 +29,7 @@ table = Tk::TkTable.new(:rows=>rows, :cols=>cols, :variable=>ary, :roworigin=>-5, :colorigin=>-2, :coltagcommand=>proc{|col| col = Integer(col) - return 'OddCol' if col>0 && col%2 == 1 + (col>0 && col%2 == 1)? 'OddCol': '' }, :selectmode=>:extended, :flashmode=>true, :rowstretch=>:unset, :colstretch=>:unset, |
