diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/tile/tframe.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/tile/tframe.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tile/tframe.rb b/ext/tk/lib/tkextlib/tile/tframe.rb new file mode 100644 index 0000000000..b77049305f --- /dev/null +++ b/ext/tk/lib/tkextlib/tile/tframe.rb @@ -0,0 +1,25 @@ +# +# tframe widget +# by Hidetoshi NAGAI ([email protected]) +# +require 'tk' +require 'tkextlib/tile.rb' + +module Tk + module Tile + class TFrame < TkFrame + end + end +end + +class Tk::Tile::TFrame < TkFrame + include Tk::Tile::TileWidget + + if Tk::Tile::USE_TTK_NAMESPACE + TkCommandNames = ['::ttk::frame'.freeze].freeze + else + TkCommandNames = ['::tframe'.freeze].freeze + end + WidgetClassName = 'TFrame'.freeze + WidgetClassNames[WidgetClassName] = self +end |