4 * GTK+ widget for Clutter.
6 * Authored By Iain Holmes <iain@openedhand.com>
8 * Copyright (C) 2006 OpenedHand
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the
22 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 * Boston, MA 02111-1307, USA.
26 #ifndef __GTK_CLUTTER_H__
27 #define __GTK_CLUTTER_H__
29 #include <gtk/gtksocket.h>
30 #include <clutter/clutter-actor.h>
34 #define GTK_TYPE_CLUTTER (gtk_clutter_get_type ())
36 #define GTK_CLUTTER(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
38 GTK_TYPE_CLUTTER, GtkClutter))
40 #define GTK_CLUTTER_CLASS(klass) \
41 (G_TYPE_CHECK_CLASS_CASE ((klass), \
42 GTK_TYPE_CLUTTER, GtkClutterClass))
44 #define GTK_IS_CLUTTER(obj) \
45 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
48 #define GTK_IS_CLUTTER_CLASS(klass) \
49 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
52 #define GTK_CLUTTER_STAGE_GET_CLASS(obj) \
53 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
54 GTK_TYPE_CLUTTER, GtkClutterClass))
56 typedef struct _GtkClutter GtkClutter;
57 typedef struct _GtkClutterClass GtkClutterClass;
58 typedef struct _GtkClutterPrivate GtkClutterPrivate;
65 GtkClutterPrivate *priv;
68 struct _GtkClutterClass
70 GtkSocketClass parent_class;
72 void (*_gtk_clutter_1) (void);
73 void (*_gtk_clutter_2) (void);
74 void (*_gtk_clutter_3) (void);
75 void (*_gtk_clutter_4) (void);
76 void (*_gtk_clutter_5) (void);
77 void (*_gtk_clutter_6) (void);
80 GType gtk_clutter_get_type (void) G_GNUC_CONST;
82 GtkWidget *gtk_clutter_new (void);
83 ClutterActor *gtk_clutter_get_stage (GtkClutter *clutter);
87 #endif /* __GTK_CLUTTER_H__ */