diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/blt/eps.rb')
-rw-r--r-- | ext/tk/lib/tkextlib/blt/eps.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/blt/eps.rb b/ext/tk/lib/tkextlib/blt/eps.rb index 43b2f8adc0..586a42470c 100644 --- a/ext/tk/lib/tkextlib/blt/eps.rb +++ b/ext/tk/lib/tkextlib/blt/eps.rb @@ -13,3 +13,20 @@ module Tk::BLT CItemTypeToClass[CItemTypeName] = self end end + +class TkCanvas + alias __BLT_EPS_item_strval_optkeys __item_strval_optkeys + def __item_strval_optkeys(id) + __BLT_EPS_item_strval_optkeys(id) + [ + 'shadowcolor', 'title', 'titlecolor' + ] + end + private :__item_strval_optkeys + + alias __BLT_EPS_item_boolval_optkeys __item_boolval_optkeys + def __item_boolval_optkeys(id) + __BLT_EPS_item_boolval_optkeys(id) + ['showimage'] + end + private :__item_boolval_optkeys +end + |