get_section


Description:

public abstract void get_section (uint position, out uint out_start, out uint out_end)

Query the section that covers the given position.

The number of items in the section can be computed by `out_end - out_start`.

If the position is larger than the number of items, a single range from n_items to G_MAXUINT will be returned.

Parameters:

this

a `GtkSectionModel`

position

the position of the item to query

out_start

the position of the first item in the section

out_end

the position of the first item not part of the section anymore.