| Clutter-Gtk 0.90.2 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
GtkClutterEmbed; GtkClutterEmbedClass; GtkWidget * gtk_clutter_embed_new (void); ClutterActor * gtk_clutter_embed_get_stage (GtkClutterEmbed *embed);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkClutterEmbed
GtkClutterEmbed implements AtkImplementorIface, GtkBuildable and GtkSizeRequest.
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.
typedef struct _GtkClutterEmbed GtkClutterEmbed;
A GtkWidget containing the default Clutter stage.
The GtkClutterEmbed structure contains only private data and should be accessed using the provided API.
typedef struct {
} GtkClutterEmbedClass;
Base class for GtkClutterEmbed.
The GtkClutterEmbedClass contains only private data.
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 |
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.
|
a GtkClutterEmbed |
Returns : |
the Clutter stage. You should never destroy or unref the returned actor. |