How do I use Gtk::ListBox::SlotForeach?

Hi I’m using gtkmm 4 and I would like to use Gtk::ListBox::SlotForeach to iterate over all rows in a Gtk::ListBox. Looking at the API: gtkmm: Gtk::ListBox Class Reference has left me baffled.
I defined in my class the following method:
void on_foreach(Gtk::ListBoxRow* row);
What signal do I need to connect it to?

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