Meta.ExternalConstraint
Description: Reference for Meta.ExternalConstraint

### Interface

# MetaExternalConstraint

#### Description

    interface Meta.ExternalConstraint : GObject.Object

No description available.

#### Prerequisite

In order to implement ExternalConstraint, your type must inherit from`GObject`.

#### Instance methods

###### meta_external_constraint_constrain

Applies external constraints to a window’s position and size.

#### Interface structure

    struct MetaExternalConstraintInterface {
      GTypeInterface parent_iface;
      gboolean (* constrain) (
        MetaExternalConstraint* constraint,
        MetaWindow* window,
        MetaExternalConstraintInfo* info
      );

    }

Interface for objects that can apply external window constraints.

###### Interface members

`parent_iface` |
    GTypeInterface
| No description available.
`constrain` |
    gboolean (* constrain) (
        MetaExternalConstraint* constraint,
        MetaWindow* window,
        MetaExternalConstraintInfo* info
      )
| Virtual function for applying external constraints.

#### Virtual methods

###### Meta.ExternalConstraint.constrain

Applies external constraints to a window’s position and size.