diff options
author | Cody Russell <crussell@canonical.com> | 2009-12-18 13:43:11 +0100 |
---|---|---|
committer | Cody Russell <bratsche@gnome.org> | 2009-12-28 09:33:41 -0600 |
commit | 8a523393acf46d8e31f5ab0f8bd9a44b2450c6e7 (patch) | |
tree | fe5b12804e9cf2320b91841d88a70592ae915f61 /gtk/gtkoffscreenwindow.h | |
parent | 74b8191f5589f4f3373ab11e5e9ea0a6606dfe02 (diff) | |
download | gtk+-8a523393acf46d8e31f5ab0f8bd9a44b2450c6e7.tar.gz |
GtkOffscreenWindow implementation for #604901
Diffstat (limited to 'gtk/gtkoffscreenwindow.h')
-rw-r--r-- | gtk/gtkoffscreenwindow.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gtk/gtkoffscreenwindow.h b/gtk/gtkoffscreenwindow.h new file mode 100644 index 0000000000..3aef9065b9 --- /dev/null +++ b/gtk/gtkoffscreenwindow.h @@ -0,0 +1,36 @@ +#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + +#ifndef __GTK_OFFSCREEN_WINDOW_H__ +#define __GTK_OFFSCREEN_WINDOW_H__ + +#include <gtk/gtkwindow.h> + +G_BEGIN_DECLS + +#define GTK_TYPE_OFFSCREEN_WINDOW (gtk_offscreen_window_get_type ()) +#define GTK_OFFSCREEN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindow)) +#define GTK_OFFSCREEN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindowClass)) +#define GTK_IS_OFFSCREEN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_OFFSCREEN_WINDOW)) +#define GTK_IS_OFFSCREEN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_OFFSCREEN_WINDOW)) +#define GTK_OFFSCREEN_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindowClass)) + +typedef struct _GtkOffscreenWindow GtkOffscreenWindow; +typedef struct _GtkOffscreenWindowClass GtkOffscreenWindowClass; + +struct _GtkOffscreenWindow +{ + GtkWindow parent_object; +}; + +struct _GtkOffscreenWindowClass +{ + GtkWindowClass parent_class; +}; + +GType gtk_offscreen_window_get_type () G_GNUC_CONST; + +G_END_DECLS + +#endif /* __GTK_OFFSCREEN_WINDOW_H__ */ |