## GtkClutterEmbed

GtkClutterEmbed — Widget for embedding a Clutter scene

## Synopsis

                        GtkClutterEmbed;
                        GtkClutterEmbedClass;
    GtkWidget *         gtk_clutter_embed_new               (void);
    ClutterActor *      gtk_clutter_embed_get_stage         (GtkClutterEmbed *embed);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkClutterEmbed

## Implemented Interfaces

GtkClutterEmbed implements AtkImplementorIface and GtkBuildable.

## Description

GtkClutterEmbed is a GTK+ widget embedding a ClutterStage. Using a GtkClutterEmbed widget is possible to build, show and interact with a scene built using Clutter inside a GTK+ application.

### Note

To avoid flickering on show, you should call `gtk_widget_show()` or `gtk_widget_realize()` before calling `clutter_actor_show()` on the embedded ClutterStage actor. This is needed for Clutter to be able to paint on the GtkClutterEmbed widget.

## Details

### GtkClutterEmbed

    typedef struct _GtkClutterEmbed GtkClutterEmbed;

A GtkWidget containing the default Clutter stage.

Since 0.6

### GtkClutterEmbedClass

    typedef struct {
    } GtkClutterEmbedClass;

Base class for GtkClutterEmbed.

Since 0.6

### gtk_clutter_embed_new ()

    GtkWidget *         gtk_clutter_embed_new               (void);

Creates a new GtkClutterEmbed widget. This widget can be used to build a scene using Clutter API into a GTK+ application.

Returns : | the newly created GtkClutterEmbed

Since 0.6

### gtk_clutter_embed_get_stage ()

    ClutterActor *      gtk_clutter_embed_get_stage         (GtkClutterEmbed *embed);

Retrieves the ClutterStage from `embed`. The returned stage can be used to add actors to the Clutter scene. Multiple calls to this function on the same GtkClutterEmbed widget will return the same stage.

`embed` : | a GtkClutterEmbed
Returns : | a ClutterStage. You should never destroy or unref the returned actor. [transfer none]

Since 0.6