GtkIconView::set_selection_mode

void set_selection_mode(GtkSelectionMode mode);

Set the selection mode which determines how many items may be selected at once and how the selection is handled.

Only Gtk::SELECTION_MULTIPLE allows to select multiple icons and activates rubber selection (open a selection rectangle by dragging the mouse).

See also: get_selection_mode()