summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkextlib/blt/tabset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkextlib/blt/tabset.rb')
-rw-r--r--ext/tk/lib/tkextlib/blt/tabset.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/blt/tabset.rb b/ext/tk/lib/tkextlib/blt/tabset.rb
index 693cce507..c26b6ee00 100644
--- a/ext/tk/lib/tkextlib/blt/tabset.rb
+++ b/ext/tk/lib/tkextlib/blt/tabset.rb
@@ -189,6 +189,16 @@ module Tk::BLT
########################################
+ def __boolval_optkeys
+ super() << 'samewidth' << 'tearoff'
+ end
+ private :__strval_optkeys
+
+ def __strval_optkeys
+ super() << 'tabbackground' << 'tabforeground'
+ end
+ private :__strval_optkeys
+
def __item_cget_cmd(id)
[self.path, 'tab', 'cget', id]
end
@@ -213,6 +223,11 @@ module Tk::BLT
alias tab_configinfo itemconfiginfo
alias current_tab_configinfo current_itemconfiginfo
+ def __item_strval_optkeys(id)
+ super(id) << 'shadow'
+ end
+ private :__item_strval_optkeys
+
def tagid(tab)
if tab.kind_of?(Tk::BLT::Tabset::Tab)
tab.id