Clutter.ActorMeta

g Clutter.ActorMeta Clutter.ActorMeta GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.ActorMeta GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:Clutter.Action, Clutter.Constraint, Clutter.Effect

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
  get_actor ()
  get_enabled ()
  get_name ()
  set_enabled (is_enabled)
  set_name (name)

Virtual Methods

Inherited:GObject.Object (7)
  do_set_actor (actor)

Properties

Name Type Flags Short Description
actor Clutter.Actor r The actor attached to the meta
enabled bool r/w Whether the meta is enabled
name str r/w The name of the meta

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance GObject.InitiallyUnowned r  

Class Details

class Clutter.ActorMeta(**kwargs)
Bases:GObject.InitiallyUnowned
Abstract:Yes
Structure:Clutter.ActorMetaClass

The Clutter.ActorMeta structure contains only private data and should be accessed using the provided API

New in version 1.4.

get_actor()
Returns:a pointer to a Clutter.Actor or None
Return type:Clutter.Actor

Retrieves a pointer to the Clutter.Actor that owns self

New in version 1.4.

get_enabled()
Returns:True if the Clutter.ActorMeta instance is enabled
Return type:bool

Retrieves whether self is enabled

New in version 1.4.

get_name()
Returns:the name of the Clutter.ActorMeta instance, or None if none was set. The returned string is owned by the Clutter.ActorMeta instance and it should not be modified or freed
Return type:str

Retrieves the name set using Clutter.ActorMeta.set_name()

New in version 1.4.

set_enabled(is_enabled)
Parameters:is_enabled (bool) – whether self is enabled

Sets whether self should be enabled or not

New in version 1.4.

set_name(name)
Parameters:name (str) – the name of self

Sets the name of self

The name can be used to identify the Clutter.ActorMeta instance

New in version 1.4.

do_set_actor(actor) virtual
Parameters:actor (Clutter.Actor or None) – the actor attached to meta, or None

Virtual function, called when meta is attached or detached from a Clutter.Actor.

Property Details

Clutter.ActorMeta.props.actor
Name:actor
Type:Clutter.Actor
Default Value:None
Flags:READABLE

The Clutter.Actor attached to the Clutter.ActorMeta instance

New in version 1.4.

Clutter.ActorMeta.props.enabled
Name:enabled
Type:bool
Default Value:True
Flags:READABLE, WRITABLE

Whether or not the Clutter.ActorMeta is enabled

New in version 1.4.

Clutter.ActorMeta.props.name
Name:name
Type:str
Default Value:None
Flags:READABLE, WRITABLE

The unique name to access the Clutter.ActorMeta

New in version 1.4.