~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/libgdl/gdl-dock-placeholder.h

  • Committer: gustav_b
  • Date: 2007-08-29 21:27:07 UTC
  • Revision ID: gustav_b@users.sourceforge.net-20070829212707-xvg87a2oqejqioxv
Dockable dialogs patch applied 
(https://sourceforge.net/tracker/?func=detail&atid=604308&aid=1688508&group_id=93438)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
 
2
 *
 
3
 * gdl-dock-placeholder.h - Placeholders for docking items
 
4
 *
 
5
 * This file is part of the GNOME Devtools Libraries.
 
6
 *
 
7
 * Copyright (C) 2002 Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
 
8
 *
 
9
 * This library is free software; you can redistribute it and/or
 
10
 * modify it under the terms of the GNU Lesser General Public
 
11
 * License as published by the Free Software Foundation; either
 
12
 * version 2.1 of the License, or (at your option) any later version.
 
13
 *
 
14
 * This library is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
17
 * Lesser General Public License for more details.
 
18
 *
 
19
 * You should have received a copy of the GNU Lesser General Public
 
20
 * License along with this library; if not, write to the Free Software
 
21
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
22
 */
 
23
 
 
24
#ifndef __GDL_DOCK_PLACEHOLDER_H__
 
25
#define __GDL_DOCK_PLACEHOLDER_H__
 
26
 
 
27
#include "libgdl/gdl-dock-object.h"
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
/* standard macros */
 
32
#define GDL_TYPE_DOCK_PLACEHOLDER             (gdl_dock_placeholder_get_type ())
 
33
#define GDL_DOCK_PLACEHOLDER(obj)             (GTK_CHECK_CAST ((obj), GDL_TYPE_DOCK_PLACEHOLDER, GdlDockPlaceholder))
 
34
#define GDL_DOCK_PLACEHOLDER_CLASS(klass)     (GTK_CHECK_CLASS_CAST ((klass), GDL_TYPE_DOCK_PLACEHOLDER, GdlDockPlaceholderClass))
 
35
#define GDL_IS_DOCK_PLACEHOLDER(obj)          (GTK_CHECK_TYPE ((obj), GDL_TYPE_DOCK_PLACEHOLDER))
 
36
#define GDL_IS_DOCK_PLACEHOLDER_CLASS(klass)  (GTK_CHECK_CLASS_TYPE ((klass), GDL_TYPE_DOCK_PLACEHOLDER))
 
37
#define GDL_DOCK_PLACEHOLDER_GET_CLASS(obj)   (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_DOCK_PLACEHOLDER, GdlDockPlaceholderClass))
 
38
 
 
39
/* data types & structures */
 
40
typedef struct _GdlDockPlaceholder        GdlDockPlaceholder;
 
41
typedef struct _GdlDockPlaceholderClass   GdlDockPlaceholderClass;
 
42
typedef struct _GdlDockPlaceholderPrivate GdlDockPlaceholderPrivate;
 
43
 
 
44
struct _GdlDockPlaceholder {
 
45
    GdlDockObject              object;
 
46
 
 
47
    GdlDockPlaceholderPrivate *_priv;
 
48
};
 
49
 
 
50
struct _GdlDockPlaceholderClass {
 
51
    GdlDockObjectClass parent_class;
 
52
};
 
53
 
 
54
/* public interface */
 
55
 
 
56
GType       gdl_dock_placeholder_get_type (void);
 
57
 
 
58
GtkWidget  *gdl_dock_placeholder_new      (gchar              *name,
 
59
                                           GdlDockObject      *object,
 
60
                                           GdlDockPlacement    position,
 
61
                                           gboolean            sticky);
 
62
 
 
63
void        gdl_dock_placeholder_attach   (GdlDockPlaceholder *ph,
 
64
                                           GdlDockObject      *object);
 
65
 
 
66
 
 
67
G_END_DECLS
 
68
 
 
69
#endif /* __GDL_DOCK_PLACEHOLDER_H__ */