aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkextlib/bwidget/labelentry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkextlib/bwidget/labelentry.rb')
-rw-r--r--ext/tk/lib/tkextlib/bwidget/labelentry.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/bwidget/labelentry.rb b/ext/tk/lib/tkextlib/bwidget/labelentry.rb
index b516a7d206..931feb9b48 100644
--- a/ext/tk/lib/tkextlib/bwidget/labelentry.rb
+++ b/ext/tk/lib/tkextlib/bwidget/labelentry.rb
@@ -23,11 +23,21 @@ class Tk::BWidget::LabelEntry
WidgetClassName = 'LabelEntry'.freeze
WidgetClassNames[WidgetClassName] = self
+ def __strval_optkeys
+ super() << 'helptext' << 'insertbackground' << 'entryfg' << 'entrybg'
+ end
+ private :__strval_optkeys
+
def __tkvariable_optkeys
super() << 'helpvar'
end
private :__tkvariable_optkeys
+ def __font_optkeys
+ super() << 'labelfont'
+ end
+ private :__font_optkeys
+
#def entrybind(*args)
# _bind([path, 'bind'], *args)
# self