1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3 * irreco_theme_creator_backgrounds.c
4 * Copyright (C) 2008 <>
6 * irreco_theme_creator_backgrounds.c is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * irreco_theme_creator_backgrounds.c is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
21 * @addtogroup IrrecoThemeCreatorBackgrounds
27 * Header file of @ref IrrecoThemeCreatorBackgrounds.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
34 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
36 * Make sure that typedefs are available before we include anything elese.
38 * This makes sure that whatever other structures that depend on structures
39 * defined in this file will compile OK recardles of header inclusion order.
41 #ifndef __IRRECO_THEME_CREATOR_BACKGROUNDS_H_TYPEDEF__
42 #define __IRRECO_THEME_CREATOR_BACKGROUNDS_H_TYPEDEF__
44 typedef struct _IrrecoThemeCreatorBackgroundsClass IrrecoThemeCreatorBackgroundsClass
;
45 typedef struct _IrrecoThemeCreatorBackgrounds IrrecoThemeCreatorBackgrounds
;
47 #define IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS (irreco_theme_creator_backgrounds_get_type ())
48 #define IRRECO_THEME_CREATOR_BACKGROUNDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS, IrrecoThemeCreatorBackgrounds))
49 #define IRRECO_THEME_CREATOR_BACKGROUNDS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS, IrrecoThemeCreatorBackgroundsClass))
50 #define IRRECO_IS_THEME_CREATOR_BACKGROUNDS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS))
51 #define IRRECO_IS_THEME_CREATOR_BACKGROUNDS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS))
52 #define IRRECO_THEME_CREATOR_BACKGROUNDS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IRRECO_TYPE_THEME_CREATOR_BACKGROUNDS, IrrecoThemeCreatorBackgroundsClass))
54 #endif /* __IRRECO_THEME_CREATOR_BACKGROUNDS_H_TYPEDEF__ */
56 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
58 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
59 #ifndef _IRRECO_THEME_CREATOR_BACKGROUNDS_H_TYPEDEF_
60 #define _IRRECO_THEME_CREATOR_BACKGROUNDS_H_TYPEDEF_
62 #include "irreco_internal_widget.h"
65 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
67 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
70 struct _IrrecoThemeCreatorBackgrounds
72 IrrecoInternalWidget parent
;
73 GtkWindow
*parent_window
;
75 GtkCellRenderer
*renderer_backgrounds
;
76 GtkTreeViewColumn
*column_backgrounds
;
77 GtkListStore
*store_backgrounds
;
78 GtkWidget
*view_backgrounds
;
79 GtkWidget
*scroll_backgrounds
;
85 struct _IrrecoThemeCreatorBackgroundsClass
87 IrrecoInternalWidgetClass parent_class
;
90 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
92 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
96 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
98 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
99 GType
irreco_theme_creator_backgrounds_get_type (void);
100 GtkWidget
* irreco_theme_creator_backgrounds_new(GtkWindow
*parent
,
101 IrrecoData
*irreco_data
,
102 IrrecoTheme
* irreco_theme
);
103 void irreco_theme_creator_backgrounds_set_parent_window(
104 IrrecoThemeCreatorBackgrounds
*self
,
107 #endif /* __IRRECO_THEME_CREATOR_BACKGROUNDS_H__ */