Phoc.Subsurface
Description: Reference for Phoc.Subsurface

### Class

# PhocSubsurface

#### Description [src]

    final class Phoc.Subsurface : Phoc.ViewChild
    {
      /* No available fields */
    }

A subsurface attached to a `PhocView` or `PhocViewChild`.

#### Hierarchy

#### Ancestors

- PhocViewChild
- GObject

#### Constructors

###### phoc_subsurface_new

No description available.

#### Instance methods

##### Methods inherited from PhocViewChild (7)

###### phoc_view_child_apply_damage

This is the equivalent of `phoc_view_apply_damage` but for `PhocViewChild`.

###### phoc_view_child_damage_whole

This is the equivalent of `phoc_view_damage_whole()` but for `PhocViewChild`.

###### phoc_view_child_get_parent

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`).

###### phoc_view_child_get_pos

No description available.

###### phoc_view_child_get_root

Get the root of the tree this child belongs to.

###### phoc_view_child_get_wlr_surface

Get the `wlr_surface` associated with this view child.

###### phoc_view_child_set_mapped

Sets whether the view child is currently mapped.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Phoc.Subsurface:wlr-subsurface

No description available.

##### Properties inherited from PhocViewChild (2)

###### Phoc.ViewChild:child-root

No description available.

###### Phoc.ViewChild:wlr-surface

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PhocSubsurfaceClass {
      PhocViewChildClass parent_class;

    }

No description available.

###### Class members

`parent_class: PhocViewChildClass`

  No description available.