GtkClutterEmbed

GtkClutterEmbed — Widget for embedding a Clutter scene

Synopsis

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

Object Hierarchy

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

Implemented Interfaces

GtkClutterEmbed implements AtkImplementorIface and GtkBuildable.

Description

GtkClutterEmbed is a GTK+ widget embedding a ClutterStage inside a GTK+ application.

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

Details

struct GtkClutterEmbed

struct GtkClutterEmbed;

A GtkWidget containing the default Clutter stage.

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


struct GtkClutterEmbedClass

struct GtkClutterEmbedClass {
};

Base class for GtkClutterEmbed.

The GtkClutterEmbedClass contains only private data.


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

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.

embed :

a GtkClutterEmbed

Returns :

the Clutter stage. You should never destroy or unref the returned actor. [transfer none]

See Also

ClutterStage