diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-30 15:17:14 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-06-30 15:18:37 -0400 |
commit | 52666d6fe5a78de911133ca55856ee4ec48e7ba9 (patch) | |
tree | 6db02e4e0011862be49a06e45aa22ffd702679bd /gtk/inspector/tree-data.h | |
parent | bbb28196e51d2d8293e9d145a16003b3edd505eb (diff) | |
download | gtk+-52666d6fe5a78de911133ca55856ee4ec48e7ba9.tar.gz |
inspector: Rename DataList -> TreeData
Rename the DataList object to TreeData, in preparation
for adding a ListData object for list models. While
we are touching it, modernize it a bit (drop the Private
struct, use a layout manager, etc).
Diffstat (limited to 'gtk/inspector/tree-data.h')
-rw-r--r-- | gtk/inspector/tree-data.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gtk/inspector/tree-data.h b/gtk/inspector/tree-data.h new file mode 100644 index 0000000000..04c848f779 --- /dev/null +++ b/gtk/inspector/tree-data.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2014, 2020 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef _GTK_INSPECTOR_TREE_DATA_H_ +#define _GTK_INSPECTOR_TREE_DATA_H_ + +#include <gtk/gtkwidget.h> + +#define GTK_TYPE_INSPECTOR_TREE_DATA (gtk_inspector_tree_data_get_type ()) +#define GTK_INSPECTOR_TREE_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_TREE_DATA, GtkInspectorTreeData)) +#define GTK_INSPECTOR_IS_TREE_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_TREE_DATA)) + +typedef struct _GtkInspectorTreeData GtkInspectorTreeData; + +G_BEGIN_DECLS + +GType gtk_inspector_tree_data_get_type (void) G_GNUC_CONST; +void gtk_inspector_tree_data_set_object (GtkInspectorTreeData *sl, + GObject *object); + +G_END_DECLS + +#endif // _GTK_INSPECTOR_TREE_DATA_H_ + +// vim: set et sw=2 ts=2: |