gdkVisualGetBestWithType {RGtk2} | R Documentation

## gdkVisualGetBestWithType

### Description

Get the best visual of the given `visual.type` for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. `NULL` may be returned if no visual has type `visual.type`.

### Usage

    gdkVisualGetBestWithType(visual.type)

### Arguments

``visual.type`` | a visual type

### Value

[`GdkVisual`] best visual of the given type. [ transfer none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]