GtkClutter.Texture

g Atk.ImplementorIface Atk.ImplementorIface Clutter.Actor Clutter.Actor Atk.ImplementorIface->Clutter.Actor Clutter.Texture Clutter.Texture Clutter.Actor->Clutter.Texture Clutter.Animatable Clutter.Animatable Clutter.Animatable->Clutter.Actor Clutter.Container Clutter.Container Clutter.Container->Clutter.Actor Clutter.Scriptable Clutter.Scriptable Clutter.Scriptable->Clutter.Actor GtkClutter.Texture GtkClutter.Texture Clutter.Texture->GtkClutter.Texture GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface GObject.GInterface->Clutter.Animatable GObject.GInterface->Clutter.Container GObject.GInterface->Clutter.Scriptable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.Actor GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

Clutter.Texture (28), Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)

Structs:

GObject.ObjectClass (5)

class

error_quark ()

class

new ()

set_from_icon_name (widget, icon_name, icon_size)

set_from_pixbuf (pixbuf)

set_from_stock (widget, stock_id, icon_size)

Virtual Methods

Inherited:

Clutter.Texture (3), Clutter.Actor (35), GObject.Object (7), Clutter.Animatable (5), Clutter.Container (13), Clutter.Scriptable (4)

Properties

Inherited:

Clutter.Texture (12), Clutter.Actor (82)

Signals

Inherited:

Clutter.Texture (3), Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)

Fields

Inherited:

Clutter.Texture (3), Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)

Name

Type

Access

Description

parent_instance

Clutter.Texture

r

Class Details

class GtkClutter.Texture(**kwargs)
Bases:

Clutter.Texture

Abstract:

No

Structure:

GtkClutter.TextureClass

The GtkClutter.Texture structure contains only private data and should be accessed using the provided API.

New in version 1.0.

classmethod error_quark()
Return type:

int

classmethod new()
Returns:

the newly created GtkClutter.Texture instance

Return type:

Clutter.Actor

Creates a new GtkClutter.Texture actor.

New in version 1.0.

set_from_icon_name(widget, icon_name, icon_size)
Parameters:
Raises:

GLib.Error

Returns:

True on success, False on failure

Return type:

bool

Sets the contents of self using the icon_name from the current icon theme.

New in version 1.0.

set_from_pixbuf(pixbuf)
Parameters:

pixbuf (GdkPixbuf.Pixbuf) – a GdkPixbuf.Pixbuf

Raises:

GLib.Error

Returns:

True on success, False on failure.

Return type:

bool

Sets the contents of self with a copy of pixbuf.

set_from_stock(widget, stock_id, icon_size)
Parameters:
Raises:

GLib.Error

Returns:

True on success, False on failure.

Return type:

bool

Sets the contents of self using the stock icon stock_id, as rendered by widget.