diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/bwidget/selectfont.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/bwidget/selectfont.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/bwidget/selectfont.rb b/ext/tk/lib/tkextlib/bwidget/selectfont.rb index 46ca0dbca8..478787602a 100644 --- a/ext/tk/lib/tkextlib/bwidget/selectfont.rb +++ b/ext/tk/lib/tkextlib/bwidget/selectfont.rb @@ -25,9 +25,15 @@ class Tk::BWidget::SelectFont WidgetClassName = 'SelectFont'.freeze WidgetClassNames[WidgetClassName] = self + def __strval_optkeys + super() << 'sampletext' << 'title' + end + private :__strval_optkeys + def __font_optkeys [] # without fontobj operation end + private :__font_optkeys def create tk_call(self.class::TkCommandNames[0], @path, *hash_kv(@keys)) |