query_depths


Description:


[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public void query_depths (out unowned int[] depths)

Warning: query_depths is deprecated since 3.22.

This function returns the available bit depths for the default screen.

Note:

Visual selection should be done using get_system_visual and get_rgba_visual

It’s equivalent to listing the visuals (list_visuals) and then looking at the depth field in each visual, removing duplicates.

The array returned by this function should not be freed.

Parameters:

depths

return location for available depths

count

return location for number of available depths


Namespace: Gdk
Package: gdk-3.0