Phoc.DesktopViewIter
Description: Reference for Phoc.DesktopViewIter

### Function

# PhocDesktopViewIter

#### Declaration

    gboolean
    (* PhocDesktopViewIter) (
      PhocDesktop* self,
      PhocView* view,
      gpointer user_data
    )

#### Description [src]

The iterator function that is invoked by `phoc_desktop_for_each_view`. The iterator can return `FALSE` if iterating further views should be stopped.

#### Parameters

`self`

  Type: `PhocDesktop`

  The desktop.

  The data is owned by the caller of the function.

`view`

  Type: `PhocView`

  The view.

  The data is owned by the caller of the function.

`user_data`

  Type: `gpointer`

  The user data.

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

#### Return value

Type: `gboolean`

`TRUE` if the iteration should continue.