mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02: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/branches/ruby_1_8@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ddeed4af3c
commit
ef5afcf8a0
9 changed files with 537 additions and 48 deletions
|
@ -26,6 +26,7 @@ module Tk::BLT
|
|||
end
|
||||
private :__strval_optkeys
|
||||
|
||||
=begin
|
||||
BarElement_ID = ['blt_graph_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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue