Clutter.SnapConstraint

const Clutter = imports.gi.Clutter;

let snapConstraint = new Clutter.SnapConstraint({
    from_edge: value,
    offset: value,
    source: value,
    to_edge: value,
});
  

<structname>ClutterSnapConstraint</structname> is an opaque structure whose members cannot be directly accesses

Since 1.6

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Clutter.ActorMeta
        • Clutter.Constraint
          • Clutter.SnapConstraint