1/*
2 * Copyright (c) 2008-2009 Christian Hammond
3 * Copyright (c) 2008-2009 David Trowbridge
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included
13 * in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 * THE SOFTWARE.
22 */
23#ifndef _GTK_INSPECTOR_PROP_LIST_H_
24#define _GTK_INSPECTOR_PROP_LIST_H_
25
26
27#include <gtk/gtkbox.h>
28
29#define GTK_TYPE_INSPECTOR_PROP_LIST (gtk_inspector_prop_list_get_type())
30#define GTK_INSPECTOR_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropList))
31#define GTK_INSPECTOR_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
32#define GTK_INSPECTOR_IS_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_PROP_LIST))
33#define GTK_INSPECTOR_IS_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_PROP_LIST))
34#define GTK_INSPECTOR_PROP_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
35
36
37typedef struct _GtkInspectorPropListPrivate GtkInspectorPropListPrivate;
38
39typedef struct _GtkInspectorPropList
40{
41 GtkBox parent;
42 GtkInspectorPropListPrivate *priv;
43} GtkInspectorPropList;
44
45typedef struct _GtkInspectorPropListClass
46{
47 GtkBoxClass parent;
48} GtkInspectorPropListClass;
49
50
51G_BEGIN_DECLS
52
53GType gtk_inspector_prop_list_get_type (void);
54gboolean gtk_inspector_prop_list_set_object (GtkInspectorPropList *pl,
55 GObject *object);
56void gtk_inspector_prop_list_set_layout_child (GtkInspectorPropList *pl,
57 GObject *object);
58
59void strdup_value_contents (const GValue *value,
60 char **contents,
61 char **type);
62
63
64
65G_END_DECLS
66
67#endif // _GTK_INSPECTOR_PROP_LIST_H_
68
69// vim: set et sw=2 ts=2:
70

source code of gtk/gtk/inspector/prop-list.h