get_shared_context


Description:

[ Version ( since = "3.16" ) ]
public unowned GLContext? get_shared_context ()

Used to retrieves the `GdkGLContext` that this this share data with.

Note:

Use [method@Gdk.GLContext.is_shared] to check if contexts can be shared.

As many contexts can share data now and no single shared context exists anymore, this function has been deprecated and now always returns null.

Parameters:

this

a `GdkGLContext`

Returns:

null