diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/iwidgets/messagebox.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/iwidgets/messagebox.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/iwidgets/messagebox.rb b/ext/tk/lib/tkextlib/iwidgets/messagebox.rb index 608f6f7ad..2bbbec766 100644 --- a/ext/tk/lib/tkextlib/iwidgets/messagebox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/messagebox.rb @@ -41,6 +41,11 @@ class Tk::Iwidgets::Messagebox end end + def __item_boolval_optkeys(id) + super(id) << 'bell' << 'show' + end + private :__item_boolval_optkeys + alias typecget itemcget alias typeconfigure itemconfigure alias typeconfiginfo itemconfiginfo @@ -51,6 +56,11 @@ class Tk::Iwidgets::Messagebox #################################### + def __strval_optkeys + super() << 'filename' << 'savedir' + end + private :__strval_optkeys + def type_add(tag=nil, keys={}) if tag.kind_of?(Hash) keys = tag |