![]() |
![]() |
![]() |
Clutter-Gtk 1.0.2 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct GtkClutterEmbed; struct GtkClutterEmbedClass; GtkWidget * gtk_clutter_embed_new (void
); ClutterActor * gtk_clutter_embed_get_stage (GtkClutterEmbed *embed
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkClutterEmbed
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.
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 { };
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. [transfer none] |