diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb b/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb index 22e86339a..77b0e090c 100644 --- a/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb +++ b/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb @@ -18,6 +18,16 @@ class Tk::Iwidgets::Hyperhelp WidgetClassName = 'Hyperhelp'.freeze WidgetClassNames[WidgetClassName] = self + def __strval_optkeys + super() << 'helpdir' + end + private :__strval_optkeys + + def __listval_optkeys + super() << 'topics' + end + private :__listval_optkeys + def show_topic(topic) tk_call(@path, 'showtopic', topic) self |