diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 16:23:30 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 16:23:30 +0000 |
commit | 39216670eb99d6d13f41d0ef9623f3d3fa2a08fd (patch) | |
tree | e50a238f70f1071c9ae47fd79562d304bd55230d /ext/tk/lib/tkextlib/blt/tile | |
parent | 1ac3ca2fa44c29c44b4ae7724cfcf343963db194 (diff) | |
download | ruby-39216670eb99d6d13f41d0ef9623f3d3fa2a08fd.tar.gz ruby-39216670eb99d6d13f41d0ef9623f3d3fa2a08fd.tar.xz ruby-39216670eb99d6d13f41d0ef9623f3d3fa2a08fd.zip |
* ext/tk/lib/tkextlib/blt.rb: add BLT extension support
* ext/tk/lib/tkextlib/blt/*.rb: ditto
* ext/tk/lib/tkextlib/blt/tile/*.rb: ditto
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/blt/tile')
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/button.rb | 16 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/checkbutton.rb | 17 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/frame.rb | 16 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/label.rb | 16 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/radiobutton.rb | 17 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/scrollbar.rb | 16 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/blt/tile/toplevel.rb | 16 |
7 files changed, 114 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/blt/tile/button.rb b/ext/tk/lib/tkextlib/blt/tile/button.rb new file mode 100644 index 000000000..dd715c8b9 --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/button.rb @@ -0,0 +1,16 @@ +# +# tkextlib/blt/tile/button.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/button' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Button < TkButton + TkCommandNames = ['::blt::tile::button'.freeze].freeze + end + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb b/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb new file mode 100644 index 000000000..ebe79179a --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb @@ -0,0 +1,17 @@ +# +# tkextlib/blt/tile/checkbutton.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/checkbutton' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Checkbutton < TkCheckbutton + TkCommandNames = ['::blt::tile::checkbutton'.freeze].freeze + end + CheckButton = Checkbutton + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/frame.rb b/ext/tk/lib/tkextlib/blt/tile/frame.rb new file mode 100644 index 000000000..10469fd35 --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/frame.rb @@ -0,0 +1,16 @@ +# +# tkextlib/blt/tile/frame.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/frame' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Frame < TkFrame + TkCommandNames = ['::blt::tile::frame'.freeze].freeze + end + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/label.rb b/ext/tk/lib/tkextlib/blt/tile/label.rb new file mode 100644 index 000000000..ec67babd5 --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/label.rb @@ -0,0 +1,16 @@ +# +# tkextlib/blt/tile/label.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/label' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Label < TkLabel + TkCommandNames = ['::blt::tile::label'.freeze].freeze + end + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb b/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb new file mode 100644 index 000000000..7573aa08d --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb @@ -0,0 +1,17 @@ +# +# tkextlib/blt/tile/radiobutton.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/radiobutton' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Radiobutton < TkRadiobutton + TkCommandNames = ['::blt::tile::radiobutton'.freeze].freeze + end + RadioButton = Radiobutton + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb b/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb new file mode 100644 index 000000000..ba3bf316f --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb @@ -0,0 +1,16 @@ +# +# tkextlib/blt/tile/scrollbar.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/scrollbar' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Scrollbar < TkScrollbar + TkCommandNames = ['::blt::tile::scrollbar'.freeze].freeze + end + end +end diff --git a/ext/tk/lib/tkextlib/blt/tile/toplevel.rb b/ext/tk/lib/tkextlib/blt/tile/toplevel.rb new file mode 100644 index 000000000..6cc2c9141 --- /dev/null +++ b/ext/tk/lib/tkextlib/blt/tile/toplevel.rb @@ -0,0 +1,16 @@ +# +# tkextlib/blt/tile/toplevel.rb +# by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) +# + +require 'tk' +require 'tk/toplevel' +require 'tkextlib/blt/tile.rb' + +module Tk::BLT + module Tile + class Toplevel < TkToplevel + TkCommandNames = ['::blt::tile::toplevel'.freeze].freeze + end + end +end |