first, almost ready UI
[irreco.git] / irreco / src / core / irreco_theme_creator_buttons.h
blob90ac521c33d1a6a2b82ba1f88cdb23e54feca2a0
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * irreco_theme_creator_buttons.c
4 * Copyright (C) 2008 <>
5 *
6 * irreco_theme_creator_buttons.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_buttons.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/>.
20 /**
21 * @addtogroup IrrecoThemeCreatorButtons
22 * @{
25 /**
26 * @file
27 * Header file of @ref IrrecoThemeCreatorButtons.
32 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
33 /* Typedef */
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_BUTTONS_H_TYPEDEF__
42 #define __IRRECO_THEME_CREATOR_BUTTONS_H_TYPEDEF__
44 typedef struct _IrrecoThemeCreatorButtonsClass IrrecoThemeCreatorButtonsClass;
45 typedef struct _IrrecoThemeCreatorButtons IrrecoThemeCreatorButtons;
47 #define IRRECO_TYPE_THEME_CREATOR_BUTTONS (irreco_theme_creator_buttons_get_type ())
48 #define IRRECO_THEME_CREATOR_BUTTONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IRRECO_TYPE_THEME_CREATOR_BUTTONS, IrrecoThemeCreatorButtons))
49 #define IRRECO_THEME_CREATOR_BUTTONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IRRECO_TYPE_THEME_CREATOR_BUTTONS, IrrecoThemeCreatorButtonsClass))
50 #define IRRECO_IS_THEME_CREATOR_BUTTONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IRRECO_TYPE_THEME_CREATOR_BUTTONS))
51 #define IRRECO_IS_THEME_CREATOR_BUTTONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IRRECO_TYPE_THEME_CREATOR_BUTTONS))
52 #define IRRECO_THEME_CREATOR_BUTTONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IRRECO_TYPE_THEME_CREATOR_BUTTONS, IrrecoThemeCreatorButtonsClass))
55 #endif /* __IRRECO_THEME_CREATOR_BUTTONS_H_TYPEDEF__ */
57 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
58 /* Include */
59 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
60 #ifndef _IRRECO_THEME_CREATOR_BUTTONS_H_TYPEDEF_
61 #define _IRRECO_THEME_CREATOR_BUTTONS_H_TYPEDEF_
62 #include "irreco.h"
63 #include "irreco_internal_widget.h"
66 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
67 /* Datatypes */
68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
72 struct _IrrecoThemeCreatorButtons
74 IrrecoInternalWidget parent;
75 GtkWindow *parent_window;
77 /*Buttons widgets*/
78 GtkWidget *vbox_buttons;
79 GtkWidget *scroll_buttons;
80 GtkCellRenderer *renderer_buttons;
81 GtkTreeViewColumn *column_buttons;
82 GtkListStore *store_buttons;
83 /* GtkTreeIter *iter_buttons;*/
84 GtkWidget *view_buttons;
90 struct _IrrecoThemeCreatorButtonsClass
92 IrrecoInternalWidgetClass parent_class;
95 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
96 /* Macro */
97 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
101 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
102 /* Prototypes */
103 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/
105 GType irreco_theme_creator_buttons_get_type (void);
106 GtkWidget* irreco_theme_creator_buttons_new(GtkWindow *parent,
107 IrrecoData *irreco_data,
108 IrrecoTheme * irreco_theme);
109 void irreco_theme_creator_buttons_set_parent_window(
110 IrrecoThemeCreatorButtons *self,
111 GtkWindow *parent);
113 #endif /* __IRRECO_THEME_CREATOR_BUTTONS_H__ */
115 /** @} */