diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/tile/tentry.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/tile/tentry.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/tile/tentry.rb b/ext/tk/lib/tkextlib/tile/tentry.rb index be7054b851..4d57ce7756 100644 --- a/ext/tk/lib/tkextlib/tile/tentry.rb +++ b/ext/tk/lib/tkextlib/tile/tentry.rb @@ -24,6 +24,16 @@ class Tk::Tile::TEntry < TkEntry WidgetClassName = 'TEntry'.freeze WidgetClassNames[WidgetClassName] = self + def __boolval_optkeys + super() << 'exportselection' + end + private :__boolval_optkeys + + def __strval_optkeys + super() << 'show' + end + private :__strval_optkeys + def self.style(*args) [self::WidgetClassName, *(args.map!{|a| _get_eval_string(a)})].join('.') end |