blob: b77049305f9509375ac8f1d160418f3d19d43d2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|