GtkClutterWindow

GtkClutterWindow — a GtkWindow that embeds its contents onto a stage

Synopsis

                    GtkClutterWindow;
                    GtkClutterWindowClass;
GtkWidget *         gtk_clutter_window_new              (void);
ClutterActor *      gtk_clutter_window_get_stage        (GtkClutterWindow *window);

Description

GtkClutterWindow is a GtkWindow sub-class that embeds a Clutter stage.

GtkClutterWindow behaves exactly like a GtkWindow, except that its child is automatically embedded inside a GtkClutterActor and it is thus part of the embedded ClutterStage.

Clutter actors can be added to the same stage by calling gtk_clutter_window_get_stage().

Details

GtkClutterWindow

typedef struct {
} GtkClutterWindow;

A GtkWindow containing a ClutterStage.

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


GtkClutterWindowClass

typedef struct {
} GtkClutterWindowClass;

Base class for GtkClutterWindow.

The GtkClutterWindowClass structure contains only private data.


gtk_clutter_window_new ()

GtkWidget *         gtk_clutter_window_new              (void);

Creates a new GtkClutterWindow widget.

This window provides a hidden ClutterStage on which the child GtkWidgets are placed. This allows other ClutterActors to also be placed on the stage.

Returns :

the newly created GtkClutterWindow

gtk_clutter_window_get_stage ()

ClutterActor *      gtk_clutter_window_get_stage        (GtkClutterWindow *window);

Retrieves the ClutterStage that this window is embedding

Use this function if you wish to add other actors to the ClutterStage.

window :

the GtkClutterWindow

Returns :

the window's ClutterStage. [transfer none]