Clutter.ActorClass

Fields

Name

Type

Access

Description

allocate

object

r

virtual function, used when settings the coordinates of an actor; it is used by Clutter.Actor.allocate(); it must chain up to the parent’s implementation, or call Clutter.Actor.set_allocation()

apply_transform

object

r

virtual function, used when applying the transformations to an actor before painting it or when transforming coordinates or the allocation; it must chain up to the parent’s implementation

button_press_event

object

r

class handler for Clutter.Actor ::button-press-event

button_release_event

object

r

class handler for Clutter.Actor ::button-release-event

captured_event

object

r

signal class closure for Clutter.Actor ::captured-event

destroy

object

r

signal class handler for Clutter.Actor ::destroy. It must chain up to the parent’s implementation

enter_event

object

r

signal class closure for Clutter.Actor ::enter-event

event

object

r

class handler for Clutter.Actor ::event

get_accessible

object

r

virtual function, returns the accessible object that describes the actor to an assistive technology.

get_paint_volume

object

r

virtual function, for sub-classes to define their Clutter.PaintVolume

get_preferred_height

object

r

virtual function, used when querying the minimum and natural heights of an actor for a given width; it is used by Clutter.Actor.get_preferred_height()

get_preferred_width

object

r

virtual function, used when querying the minimum and natural widths of an actor for a given height; it is used by Clutter.Actor.get_preferred_width()

has_overlaps

object

r

virtual function for sub-classes to advertise whether they need an offscreen redirect to get the correct opacity. See Clutter.Actor.set_offscreen_redirect() for details.

hide

object

r

signal class handler for Clutter.Actor ::hide; it must chain up to the parent’s implementation

hide_all

object

r

virtual function for containers and composite actors, to determine which children should be shown when calling Clutter.Actor.hide_all() on the actor. Defaults to calling Clutter.Actor.hide(). This virtual function is deprecated and it should not be overridden.

key_focus_in

object

r

signal class closure for Clutter.Actor ::key-focus-in

key_focus_out

object

r

signal class closure for Clutter.Actor ::key-focus-out

key_press_event

object

r

signal class closure for Clutter.Actor ::key-press-event

key_release_event

object

r

signal class closure for Clutter.Actor ::key-release-event

leave_event

object

r

signal class closure for Clutter.Actor ::leave-event

map

object

r

virtual function for containers and composite actors, to map their children; it must chain up to the parent’s implementation. Overriding this function is optional.

motion_event

object

r

signal class closure for Clutter.Actor ::motion-event

paint

object

r

virtual function, used to paint the actor

paint_node

object

r

virtual function for creating paint nodes and attaching them to the render tree

parent_class

GObject.InitiallyUnownedClass

r

parent_set

object

r

signal class handler for the Clutter.Actor ::parent-set

pick

object

r

virtual function, used to draw an outline of the actor with the given color

queue_redraw

object

r

class handler for Clutter.Actor ::queue-redraw

queue_relayout

object

r

class handler for Clutter.Actor ::queue-relayout

realize

object

r

virtual function, used to allocate resources for the actor; it should chain up to the parent’s implementation. This virtual function is deprecated and should not be overridden in newly written code.

scroll_event

object

r

signal class closure for Clutter.Actor ::scroll-event

show

object

r

signal class handler for Clutter.Actor ::show; it must chain up to the parent’s implementation

show_all

object

r

virtual function for containers and composite actors, to determine which children should be shown when calling Clutter.Actor.show_all() on the actor. Defaults to calling Clutter.Actor.show(). This virtual function is deprecated and it should not be overridden.

touch_event

object

r

signal class closure for Clutter.Actor ::touch-event

unmap

object

r

virtual function for containers and composite actors, to unmap their children; it must chain up to the parent’s implementation. Overriding this function is optional.

unrealize

object

r

virtual function, used to deallocate resources allocated in ::realize; it should chain up to the parent’s implementation. This function is deprecated and should not be overridden in newly written code.

Methods

None

Details

class Clutter.ActorClass

Base class for actors.