Method: Tk::TkTable#delete_cols
- Defined in:
- lib/tkextlib/tktable/tktable.rb
#delete_cols(*args) ⇒ Object
?switches_array?, index, ?count?
563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'lib/tkextlib/tktable/tktable.rb', line 563 def delete_cols(*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('delete', 'cols', *params) self end |