Package: gdk

Function gdk:dmabuf-formats-n-formats

Lambda List

gdk:dmabuf-formats-n-formats (formats)

Arguments

formats -- a gdk:dmabuf-formats instance

Return Value

The integer with the number for formats.

Details

Returns the number of formats that the formats object contains. Note that DMA buffers are a Linux concept, so on other platforms, the gdk:dmabuf-formats-n-formats function will always return zero.

Since 4.14
 

See also

2024-7-10