get_stage_visual


Description:


[ Version ( deprecated = true , deprecated_since = "1.2" , since = "0.4" ) ]
public VisualInfo? get_stage_visual (Stage stage)

Warning: get_stage_visual is deprecated since 1.2.

Returns an XVisualInfo suitable for creating a foreign window for the given stage.

Note:

Use get_visual_info instead

NOTE: It doesn't do as the name may suggest, which is return the XVisualInfo that was used to create an existing window for the given stage.

XXX: It might be best to deprecate this function and replace with something along the lines of clutter_backend_x11_get_foreign_visual () or perhaps clutter_stage_x11_get_foreign_visual ()

Parameters:

stage

a Stage

Returns:

An XVisualInfo suitable for creating a foreign stage. Use free to free the returned value instead


Namespace: ClutterX11
Package: clutter-x11-1.0