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