Class: ServerConsole::MyStore

Inherits:
Gtk::TreeStore
  • Object
show all
Defined in:
lib/ServerConsole.rb

Instance Method Summary collapse

Instance Method Details

#find_iter(col_num, col_data) ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/ServerConsole.rb', line 7

def find_iter(col_num,col_data)
	found_iter=nil
	each{|model,path,iter|
		if iter[col_num]==col_data
			found_iter=iter
			break
		end
	}
	found_iter
end