Class

ClutterAction

Description [src]

abstract class Clutter.Action : Clutter.ActorMeta {
  parent_instance: ClutterActorMeta
}

Abstract class for event-related logic

ClutterAction is an abstract base class for event-related actions that modify the user interaction of a ClutterActor, just like ClutterConstraint is an abstract class for modifiers of an actor’s position or size.

Implementations of ClutterAction are associated to an actor and can provide behavioral changes when dealing with user input - for instance drag and drop capabilities, or scrolling, or panning - by using the various event-related signals provided by ClutterActor itself.

Instance methods

clutter_action_get_phase
No description available.
Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor

Retrieves a pointer to the ClutterActor that owns meta.

clutter_actor_meta_get_enabled

Retrieves whether meta is enabled.

clutter_actor_meta_get_name

Retrieves the name set using clutter_actor_meta_set_name()

clutter_actor_meta_set_enabled

Sets whether meta should be enabled or not.

clutter_actor_meta_set_name

Sets the name of meta.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor

The ClutterActor attached to the ClutterActorMeta instance.

Clutter.ActorMeta:enabled

Whether or not the ClutterActorMeta is enabled.

Clutter.ActorMeta:name

The unique name to access the ClutterActorMeta.

Signals

Signals inherited from GObject (1)
GObject.Object::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 ClutterActionClass {
  gboolean (* handle_event) (
    ClutterAction* action,
    const ClutterEvent* event
  );
  void (* _clutter_action1) (
void
  );
  void (* _clutter_action2) (
void
  );
  void (* _clutter_action3) (
void
  );
  void (* _clutter_action4) (
void
  );
  void (* _clutter_action5) (
void
  );
  void (* _clutter_action6) (
void
  );
  void (* _clutter_action7) (
void
  );
  void (* _clutter_action8) (
void
  );
  
}
Class members
handle_event
gboolean (* handle_event) (
    ClutterAction* action,
    const ClutterEvent* event
  )
  No description available.
_clutter_action1
void (* _clutter_action1) (
void
  )
  No description available.
_clutter_action2
void (* _clutter_action2) (
void
  )
  No description available.
_clutter_action3
void (* _clutter_action3) (
void
  )
  No description available.
_clutter_action4
void (* _clutter_action4) (
void
  )
  No description available.
_clutter_action5
void (* _clutter_action5) (
void
  )
  No description available.
_clutter_action6
void (* _clutter_action6) (
void
  )
  No description available.
_clutter_action7
void (* _clutter_action7) (
void
  )
  No description available.
_clutter_action8
void (* _clutter_action8) (
void
  )
  No description available.

Virtual methods

Clutter.ActionClass.handle_event
No description available.