Method: Tk::TkTable#insert_rows
- Defined in:
- lib/tkextlib/tktable/tktable.rb
#insert_rows(*args) ⇒ Object
?switches_array?, index, ?count?
656 657 658 659 660 661 662 663 664 665 666 667 |
# File 'lib/tkextlib/tktable/tktable.rb', line 656 def insert_rows(*args) # ?switches_array?, index, ?count? params = [] if args[0].kind_of?(Array) switches = args.shift switches.each{|k| params << "-#{k}"} end params << '--' params << tagid(args.shift) params.concat(args) tk_send('insert', 'rows', *params) self end |