Phoc.ViewChild.get_parent

### Method

# Phoc ViewChildget_parent

#### Declaration [src]

    PhocViewChild*
    phoc_view_child_get_parent (
      PhocViewChild* self
    )

#### Description [src]

Get the view’s parent (if any). The parent is either a `PhocViewChild` or `NULL` (in that case `self` is a direct child of it’s `view`).

#### Return value

Type: `PhocViewChild`

The view child.

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