1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3
* gdl-dock-placeholder.h - Placeholders for docking items
5
* This file is part of the GNOME Devtools Libraries.
7
* Copyright (C) 2002 Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
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.
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.
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
24
#ifndef __GDL_DOCK_PLACEHOLDER_H__
25
#define __GDL_DOCK_PLACEHOLDER_H__
27
#include "libgdl/gdl-dock-object.h"
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))
39
/* data types & structures */
40
typedef struct _GdlDockPlaceholder GdlDockPlaceholder;
41
typedef struct _GdlDockPlaceholderClass GdlDockPlaceholderClass;
42
typedef struct _GdlDockPlaceholderPrivate GdlDockPlaceholderPrivate;
44
struct _GdlDockPlaceholder {
47
GdlDockPlaceholderPrivate *_priv;
50
struct _GdlDockPlaceholderClass {
51
GdlDockObjectClass parent_class;
54
/* public interface */
56
GType gdl_dock_placeholder_get_type (void);
58
GtkWidget *gdl_dock_placeholder_new (gchar *name,
59
GdlDockObject *object,
60
GdlDockPlacement position,
63
void gdl_dock_placeholder_attach (GdlDockPlaceholder *ph,
64
GdlDockObject *object);
69
#endif /* __GDL_DOCK_PLACEHOLDER_H__ */