Blame clutter-gtk/gtk-clutter-window.h

Packit Service 6a0f92
/* gtk-clutter-window.h: GtkWindow which provides a hidden ClutterStage
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * Copyright (C) 2009 Collabora Ltd.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * This library is free software; you can redistribute it and/or
Packit Service 6a0f92
 * modify it under the terms of the GNU Lesser General Public
Packit Service 6a0f92
 * License as published by the Free Software Foundation; either
Packit Service 6a0f92
 * version 2 of the License, or (at your option) any later version.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * This library is distributed in the hope that it will be useful,
Packit Service 6a0f92
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 6a0f92
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 6a0f92
 * Lesser General Public License for more details.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * You should have received a copy of the GNU Lesser General Public
Packit Service 6a0f92
 * License along with this library. If not see <http://www.fsf.org/licensing>.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * Authors:
Packit Service 6a0f92
 *   Danielle Madeley <danielle.madeley@collabora.co.uk>
Packit Service 6a0f92
 */
Packit Service 6a0f92
Packit Service 6a0f92
#if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
Packit Service 6a0f92
#error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
Packit Service 6a0f92
#endif
Packit Service 6a0f92
Packit Service 6a0f92
#ifndef __GTK_CLUTTER_WINDOW_H__
Packit Service 6a0f92
#define __GTK_CLUTTER_WINDOW_H__
Packit Service 6a0f92
Packit Service 6a0f92
#include <gtk/gtk.h>
Packit Service 6a0f92
#include <clutter/clutter.h>
Packit Service 6a0f92
#include <clutter-gtk/gtk-clutter-version.h>
Packit Service 6a0f92
Packit Service 6a0f92
G_BEGIN_DECLS
Packit Service 6a0f92
Packit Service 6a0f92
#define GTK_CLUTTER_TYPE_WINDOW          (gtk_clutter_window_get_type ())
Packit Service 6a0f92
#define GTK_CLUTTER_WINDOW(o)            (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindow))
Packit Service 6a0f92
#define GTK_CLUTTER_IS_WINDOW(o)         (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_CLUTTER_TYPE_WINDOW))
Packit Service 6a0f92
#define GTK_CLUTTER_WINDOW_CLASS(k)      (G_TYPE_CHECK_CLASS_CAST ((k), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindowClass))
Packit Service 6a0f92
#define GTK_CLUTTER_IS_WINDOW_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_CLUTTER_TYPE_WINDOW))
Packit Service 6a0f92
#define GTK_CLUTTER_WINDOW_GET_CLASS(o)  (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_CLUTTER_TYPE_WINDOW, GtkClutterWindowClass))
Packit Service 6a0f92
Packit Service 6a0f92
typedef struct _GtkClutterWindow         GtkClutterWindow;
Packit Service 6a0f92
typedef struct _GtkClutterWindowPrivate  GtkClutterWindowPrivate;
Packit Service 6a0f92
typedef struct _GtkClutterWindowClass    GtkClutterWindowClass;
Packit Service 6a0f92
Packit Service 6a0f92
/**
Packit Service 6a0f92
 * GtkClutterWindow:
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * A #GtkWindow containing a #ClutterStage.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * The <structname>GtkClutterWindow</structname> structure contains only
Packit Service 6a0f92
 * private data and it should be accessed using the provided API.
Packit Service 6a0f92
 */
Packit Service 6a0f92
struct _GtkClutterWindow
Packit Service 6a0f92
{
Packit Service 6a0f92
  /*< private >*/
Packit Service 6a0f92
  GtkWindow parent_instance;
Packit Service 6a0f92
Packit Service 6a0f92
  GtkClutterWindowPrivate *priv;
Packit Service 6a0f92
};
Packit Service 6a0f92
Packit Service 6a0f92
/**
Packit Service 6a0f92
 * GtkClutterWindowClass:
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * Base class for #GtkClutterWindow.
Packit Service 6a0f92
 *
Packit Service 6a0f92
 * The <structname>GtkClutterWindowClass</structname> structure contains
Packit Service 6a0f92
 * only private data.
Packit Service 6a0f92
 */
Packit Service 6a0f92
struct _GtkClutterWindowClass
Packit Service 6a0f92
{
Packit Service 6a0f92
  /*< private >*/
Packit Service 6a0f92
  GtkWindowClass parent_class;
Packit Service 6a0f92
Packit Service 6a0f92
  /* padding for future expansion */
Packit Service 6a0f92
  void (*_clutter_gtk_reserved1) (void);
Packit Service 6a0f92
  void (*_clutter_gtk_reserved2) (void);
Packit Service 6a0f92
  void (*_clutter_gtk_reserved3) (void);
Packit Service 6a0f92
  void (*_clutter_gtk_reserved4) (void);
Packit Service 6a0f92
  void (*_clutter_gtk_reserved5) (void);
Packit Service 6a0f92
  void (*_clutter_gtk_reserved6) (void);
Packit Service 6a0f92
};
Packit Service 6a0f92
Packit Service 6a0f92
CLUTTER_GTK_EXTERN
Packit Service 6a0f92
GType gtk_clutter_window_get_type (void) G_GNUC_CONST;
Packit Service 6a0f92
Packit Service 6a0f92
CLUTTER_GTK_EXTERN
Packit Service 6a0f92
GtkWidget *   gtk_clutter_window_new       (void);
Packit Service 6a0f92
CLUTTER_GTK_EXTERN
Packit Service 6a0f92
ClutterActor *gtk_clutter_window_get_stage (GtkClutterWindow *window);
Packit Service 6a0f92
Packit Service 6a0f92
G_END_DECLS
Packit Service 6a0f92
Packit Service 6a0f92
#endif /* __GTK_CLUTTER_WINDOW_H__ */