set_max_columns


Description:

public void set_max_columns (uint max_columns)

Sets the maximum number of columns to use.

This number must be at least 1.

If max_columns is smaller than the minimum set via [method@Gtk.GridView.set_min_columns], that value is used instead.

Parameters:

this

a `GtkGridView`

max_columns

The maximum number of columns