Phoc.XWaylandSurface.is_child

### Method

# Phoc XWaylandSurfaceis_child

#### Declaration [src]

    gboolean
    phoc_xwayland_surface_is_child (
      PhocXWaylandSurface* self,
      PhocXWaylandSurface* maybe_child
    )

#### Description [src]

Checks if `maybe_child` is a child of `self`. This is `TRUE` if `maybe_child` is `self` or has `self` as any parent.

#### Parameters

`maybe_child`

  Type: `PhocXWaylandSurface`

  The XWayland surface to check.

  The data is owned by the caller of the method.

#### Return value

Type: `gboolean`

`TRUE` if `maybe_child` is a child of `self`.