Method

GdkX11X11Screenlookup_visual

since: 2.2

Declaration [src]

GdkVisual*
gdk_x11_screen_lookup_visual (
  GdkScreen* screen,
  VisualID xvisualid
)

Description [src]

Looks up the GdkVisual for a particular screen and X Visual ID.

Available since: 2.2

Parameters

xvisualid

Type: VisualID

An X Visual ID.

Return value

Type: GdkX11Visual

The GdkVisual (owned by the screen object), or NULL if the visual ID wasn’t found.

The returned data is owned by the instance.