Package: gdk

Function gdk:visual-best-with-both

Lambda List

gdk:visual-best-with-both (depth visual-type)

Arguments

depth -- an integer with the bit depth
visual-type -- a value of the gdk:visual-type enumeration

Return Value

The best gdk:visual object with both depth and visual-type, or nil if none.

Details

Combines the gdk:visual-best-with-depth and gdk:visual-best-with-type functions.

Warning

The gdk:visual-best-with-both function has been deprecated since version 3.22 and should not be used in newly written code. Visual selection should be done using the gdk:screen-system-visual and gdk:screen-rgba-visual functions.
 

See also

2024-6-28