2 * Copyright (C) 2007 Tilman Sauerbeck (tilman at code-monkey de)
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 #ifndef __RAKT_WINDOW_H
21 #define __RAKT_WINDOW_H
23 #include <gtk/gtkwindow.h>
27 #define RAKT_TYPE_WINDOW \
28 (rakt_window_get_type ())
29 #define RAKT_WINDOW(obj) \
30 (G_TYPE_CHECK_INSTANCE_CAST ((obj), RAKT_TYPE_WINDOW, RaktWindow))
31 #define RAKT_WINDOW_CLASS(klass) \
32 (G_TYPE_CHECK_CLASS_CAST ((klass), RAKT_TYPE_WINDOW, RaktWindowClass))
33 #define RAKT_IS_WINDOW(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RAKT_TYPE_WINDOW))
35 #define RAKT_IS_WINDOW_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_TYPE ((klass), RAKT_TYPE_WINDOW))
37 #define RAKT_WINDOW_GET_CLASS(obj) \
38 (G_TYPE_INSTANCE_GET_CLASS ((obj), RAKT_TYPE_WINDOW, RaktWindowClass))
40 typedef struct RaktWindow RaktWindow;
41 typedef struct RaktWindowClass RaktWindowClass;
44 GtkWindow parent_instance;
47 struct RaktWindowClass {
48 GtkWindowClass parent_class;
49 void (*quitting) (RaktWindow *window);
52 GType rakt_window_get_type (void);
53 GtkWidget *rakt_window_new (void);