Code

Applying fix from LP #183646
[inkscape.git] / src / libgdl / gdl-dock-notebook.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2  *
3  * This file is part of the GNOME Devtools Libraries.
4  *
5  * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  */
22 #ifndef __GDL_DOCK_NOTEBOOK_H__
23 #define __GDL_DOCK_NOTEBOOK_H__
25 #include "libgdl/gdl-dock-item.h"
27 G_BEGIN_DECLS
29 /* standard macros */
30 #define GDL_TYPE_DOCK_NOTEBOOK            (gdl_dock_notebook_get_type ())
31 #define GDL_DOCK_NOTEBOOK(obj)            (GTK_CHECK_CAST ((obj), GDL_TYPE_DOCK_NOTEBOOK, GdlDockNotebook))
32 #define GDL_DOCK_NOTEBOOK_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GDL_TYPE_DOCK_NOTEBOOK, GdlDockNotebookClass))
33 #define GDL_IS_DOCK_NOTEBOOK(obj)         (GTK_CHECK_TYPE ((obj), GDL_TYPE_DOCK_NOTEBOOK))
34 #define GDL_IS_DOCK_NOTEBOOK_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GDL_TYPE_DOCK_NOTEBOOK))
35 #define GDL_DOCK_NOTEBOOK_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_DOCK_NOTEBOOK, GdlDockNotebookClass))
37 /* data types & structures */
38 typedef struct _GdlDockNotebook        GdlDockNotebook;
39 typedef struct _GdlDockNotebookClass   GdlDockNotebookClass;
41 struct _GdlDockNotebook {
42     GdlDockItem  item;
43 };
45 struct _GdlDockNotebookClass {
46     GdlDockItemClass  parent_class;
47 };
50 /* public interface */
51  
52 GtkWidget     *gdl_dock_notebook_new               (void);
54 GType          gdl_dock_notebook_get_type          (void);
56 G_END_DECLS
58 #endif