1 /* 2 * Copyright (c) 2014 Benjamin Otte <otte@gnome.org> 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice shall be included 12 * in all copies or substantial portions of the Software. 13 * 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 * THE SOFTWARE. 21 */ 22 23 #ifndef _GTK_INSPECTOR_CSS_NODE_TREE_H_ 24 #define _GTK_INSPECTOR_CSS_NODE_TREE_H_ 25 26 #include <gtk/gtkbox.h> 27 28 #include "gtk/gtkcssnodeprivate.h" 29 30 #define GTK_TYPE_INSPECTOR_CSS_NODE_TREE (gtk_inspector_css_node_tree_get_type()) 31 #define GTK_INSPECTOR_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTree)) 32 #define GTK_INSPECTOR_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass)) 33 #define GTK_INSPECTOR_IS_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE)) 34 #define GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE)) 35 #define GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass)) 36 37 38 typedef struct _GtkInspectorCssNodeTreePrivate GtkInspectorCssNodeTreePrivate; 39 40 typedef struct _GtkInspectorCssNodeTree 41 { 42 GtkBox parent; 43 GtkInspectorCssNodeTreePrivate *priv; 44 } GtkInspectorCssNodeTree; 45 46 typedef struct _GtkInspectorCssNodeTreeClass 47 { 48 GtkBoxClass parent; 49 } GtkInspectorCssNodeTreeClass; 50 51 G_BEGIN_DECLS 52 53 GType gtk_inspector_css_node_tree_get_type (void); 54 void gtk_inspector_css_node_tree_set_object (GtkInspectorCssNodeTree *cnt, 55 GObject *object); 56 57 G_END_DECLS 58 59 #endif // _GTK_INSPECTOR_CSS_NODE_TREE_H_ 60 61 // vim: set et sw=2 ts=2: 62