diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-11 14:59:49 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-11 14:59:49 +0000 |
| commit | d21469f63eb60b5c17fe3d96ce3e0da0fd2deab2 (patch) | |
| tree | 777f3f1417bc0f28962b5b6d741cf17caa648078 /ext/tk/sample/tkextlib | |
| parent | 82425ddcf5570a032cecd664f0f2a524d89814da (diff) | |
| download | ruby-d21469f63eb60b5c17fe3d96ce3e0da0fd2deab2.tar.gz ruby-d21469f63eb60b5c17fe3d96ce3e0da0fd2deab2.tar.xz ruby-d21469f63eb60b5c17fe3d96ce3e0da0fd2deab2.zip | |
* ext/tk/lib/tkextlib/SUPPORT_STATUS: update to support libraries in
ActiveTcl8.4.12.0.
* ext/tk/lib/tkextlib/tile/tnotebook.rb: add Tk::Tile::TNotebook#insert.
* ext/tk/sample/tkextlib/tile/demo.rb: improve the look of a part of the demo.
* ext/tk/sample/scrollframe.rb: add a new sample.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/sample/tkextlib')
| -rw-r--r-- | ext/tk/sample/tkextlib/tile/demo.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/tile/demo.rb b/ext/tk/sample/tkextlib/tile/demo.rb index 13ec3249d..b604410da 100644 --- a/ext/tk/sample/tkextlib/tile/demo.rb +++ b/ext/tk/sample/tkextlib/tile/demo.rb @@ -734,7 +734,11 @@ end # $Timers = {:StateMonitor=>nil, :FocusMonitor=>nil} -msg = TkMessage.new(others, :aspect=>200) +begin + msg = Tk::Tile::Label.new(others, :justify=>:left, :wraplength=>300) +rescue + msg = TkMessage.new(others, :aspect=>200) +end $Desc = {} |
