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 _HAVE_GTK_CLUTTER_H
27 #define _HAVE_GTK_CLUTTER_H
29 #include <gtk/gtkdrawingarea.h>
31 #include <clutter/clutter-actor.h>
35 #define GTK_TYPE_CLUTTER gtk_clutter_get_type ()
37 #define GTK_CLUTTER(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
39 GTK_TYPE_CLUTTER, GtkClutter))
41 #define GTK_CLUTTER_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CASE ((klass), \
43 GTK_TYPE_CLUTTER, GtkClutterClass))
45 #define GTK_IS_CLUTTER(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
49 #define GTK_IS_CLUTTER_CLASS(klass) \
50 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
53 #define GTK_CLUTTER_STAGE_GET_CLASS(obj) \
54 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
55 GTK_TYPE_CLUTTER, GtkClutterClass))
57 typedef struct _GtkClutterPrivate GtkClutterPrivate;
58 typedef struct _GtkClutter GtkClutter;
59 typedef struct _GtkClutterClass GtkClutterClass;
63 GtkDrawingArea parent;
66 GtkClutterPrivate *priv;
69 struct _GtkClutterClass
71 GtkDrawingAreaClass parent_class;
74 GType gtk_clutter_get_type (void);
76 ClutterActor *gtk_clutter_get_stage (GtkClutter *clutter);