Class: Gtk::ListStore

Inherits:
Object show all
Defined in:
lib/tagen/gtk2.rb

Overview

class Window

Instance Method Summary (collapse)

Instance Method Details

- (Object) append(rows)

Examples:

data=[
	[1, 2],
	[3, 4]
]
liststore.append(data)


22
23
24
25
26
27
28
29
# File 'lib/tagen/gtk2.rb', line 22

def append rows
	rows.each do |row|
		iter = append_
		row.each do |col, col_i|
			iter[col_i] = col
		end
	end
end

- (Object) append_



15
# File 'lib/tagen/gtk2.rb', line 15

alias append_ append