Interface

PhocChildRoot

[]

Description [src]

interface Phoc.ChildRoot : GObject.Object

Implementations of the PhocChildRoot interface. Implemented by PhocView and PhocLayerSurface so both surfaces roles can use the same handling for subsurfaces and popups.

[]

Prerequisite

In order to implement ChildRoot, your type must inherit fromGObject.

[]

Instance methods

phoc_child_root_add_child
No description available.

phoc_child_root_apply_damage
No description available.

phoc_child_root_get_box
No description available.

phoc_child_root_is_mapped
No description available.

phoc_child_root_remove_child
No description available.

phoc_child_root_unconstrain_popup
No description available.

Interface structure

[]

Virtual methods

Phoc.ChildRoot.add_child

Invoked when a new child should is added.

Phoc.ChildRoot.apply_damage

Submit the accumulated damage for the root and its children.

Phoc.ChildRoot.get_box

Get the root’s surface box.

Phoc.ChildRoot.is_mapped

Check whether the root is mapped.

Phoc.ChildRoot.remove_child

Invoked when a child should no longer be tracked by the root.

Phoc.ChildRoot.unconstrain_popup

Get a box that the popup can use to unconstrain itself. Coordinates are relative to the toplevel’s top, left corner.