1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tkextlib/blt/component.rb: cannot create elements except

default type of element.
* lib/tkextlib/blt/barchart.rb: ditto.
* lib/tkextlib/blt/graph.rb: ditto.
* lib/tkextlib/blt/stripchart.rb: ditto.
* lib/tkextlib/blt/component.rb: axis command option gets
  proper object type of arguments.
* sample/tkextlib/blt/calendar.rb: new sample.
* sample/tkextlib/blt/pareto.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2005-03-29 10:27:32 +00:00
parent 42959f5029
commit 10fa84d750
9 changed files with 537 additions and 48 deletions

View file

@ -26,6 +26,7 @@ module Tk::BLT
end
private :__strval_optkeys
=begin
BarElement_ID = ['blt_barchart_bar'.freeze, '00000'.taint].freeze
def bar(elem=nil, keys={})
@ -40,6 +41,7 @@ module Tk::BLT
tk_send('bar', elem, keys)
Element.new(self, elem, :without_creating=>true)
end
=end
def extents(item)
num_or_str(tk_send_without_enc('extents', item))