diff options
Diffstat (limited to 'ext/tk/lib/tkextlib/vu')
-rw-r--r-- | ext/tk/lib/tkextlib/vu/bargraph.rb | 10 | ||||
-rw-r--r-- | ext/tk/lib/tkextlib/vu/charts.rb | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/vu/bargraph.rb b/ext/tk/lib/tkextlib/vu/bargraph.rb index 3ac08a26a5..27ff3c7cd0 100644 --- a/ext/tk/lib/tkextlib/vu/bargraph.rb +++ b/ext/tk/lib/tkextlib/vu/bargraph.rb @@ -28,6 +28,16 @@ class Tk::Vu::Bargraph < TkWindow end private :__boolval_optkeys + def __strval_optkeys + super() + [ + 'title', + 'barbackground', 'barcolor', 'barcolour', + 'tickcolor', 'tickcolour', + 'textcolor', 'textcolour', + ] + end + private :__strval_optkeys + def __listval_optkeys ['alabels', 'blabels'] end diff --git a/ext/tk/lib/tkextlib/vu/charts.rb b/ext/tk/lib/tkextlib/vu/charts.rb index a578c6979b..ee4298fa1c 100644 --- a/ext/tk/lib/tkextlib/vu/charts.rb +++ b/ext/tk/lib/tkextlib/vu/charts.rb @@ -17,6 +17,12 @@ module Tk end private :__item_boolval_optkeys + def __item_strval_optkeys(id) + super(id) << 'bar' << 'color' << 'outline' << + 'fill' << 'scaleline' << 'stripline' + end + private :__item_strval_optkeys + def __item_listval_optkeys(id) super(id) << 'values' << 'tags' end |