Liststore->foreach and row_separator

What is the best way to exclude row_separator rows when iteratiing through ->foreach
this is example of where I am(in perl)

$liststore->foreach(sub{
	my ($model,$path,$iterrow)= @_;
	if ($model->get($iterrow,0)){
	say '8308 ',$path->get_indices,$model->get($iterrow,0);
	}
return 0
}
);

Is there a better way? or a method which identifies a row_separator row.

Probably best not to have separators in your GListModel and instead insert them with a header func in a GtkListBox, I would say.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.