get_n_formats


Description:

public size_t get_n_formats ()

Returns the number of formats that the this object contains.

Note that DMA buffers are a Linux concept, so on other platforms, [method@Gdk.DmabufFormats.get_n_formats] will always return zero.

Parameters:

this

a `GdkDmabufFormats`

Returns:

the number of formats