Phoc.Seat.view_from_view

### Method

# Phoc Seatview_from_view

#### Declaration [src]

    PhocSeatView*
    phoc_seat_view_from_view (
      PhocSeat* seat,
      PhocView* view
    )

#### Description [src]

Looks up the seat view tracking the given view. If no seat view is found a new one is created.

#### Parameters

`view`

  Type: `PhocView`

  A view.

  The data is owned by the caller of the method.

#### Return value

Type: `PhocSeatView`

The seat view pointing to the given view.

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