Phoc.GtkShell.get_gtk_surface_from_wlr_surface

### Method

# Phoc GtkShellget_gtk_surface_from_wlr_surface

#### Declaration [src]

    PhocGtkSurface*
    phoc_gtk_shell_get_gtk_surface_from_wlr_surface (
      PhocGtkShell* self,
      wlr_surface* wlr_surface
    )

#### Description [src]

Get the `PhocGtkSurface` from the given WLR surface.

This method is not directly available to language bindings.

#### Parameters

`wlr_surface`

  Type: `wlr_surface*`

  No description available.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

#### Return value

Type: `PhocGtkSurface`

The `PhocGtkSurface` or `NULL`.

The returned data is owned by the instance.
The return value can be `NULL`.