diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/tile/tframe.rb')
| -rw-r--r-- | ext/tk/lib/tkextlib/tile/tframe.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tile/tframe.rb b/ext/tk/lib/tkextlib/tile/tframe.rb index b77049305..8f93cc800 100644 --- a/ext/tk/lib/tkextlib/tile/tframe.rb +++ b/ext/tk/lib/tkextlib/tile/tframe.rb @@ -22,4 +22,8 @@ class Tk::Tile::TFrame < TkFrame end WidgetClassName = 'TFrame'.freeze WidgetClassNames[WidgetClassName] = self + + def self.style(*args) + [self::WidgetClassName, *(args.map!{|a| _get_eval_string(a)})].join('.') + end end |
