Phoc.Output.layer_surface_for_each_surface

### Method

# Phoc Outputlayer_surface_for_each_surface

#### Declaration [src]

    void
    phoc_output_layer_surface_for_each_surface (
      PhocOutput* self,
      PhocLayerSurface* layer_surface,
      PhocSurfaceIterator iterator,
      void* user_data
    )

#### Description [src]

Iterate over a `PhocLayerSurface` and its popups.

#### Parameters

`layer_surface`

  Type: `PhocLayerSurface`

  The layer surface to iterate over.

  The data is owned by the caller of the method.

`iterator`

  Type: `PhocSurfaceIterator`

  The callback invoked on each iteration.

`user_data`

  Type: `void*`

  Callback user data.

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