diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-10 00:50:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-10 22:04:33 -0400 |
commit | a089ccf5f0f0b439f4f2a8d6fac7c3d47913462a (patch) | |
tree | 20cb789e947e0daf1d833e72abccaf55332a697a /modules/inspector/window.c | |
parent | 965533740792caee059cdaa13655a10da4fb6734 (diff) | |
download | gtk+-a089ccf5f0f0b439f4f2a8d6fac7c3d47913462a.tar.gz |
inspector: Add a minimal Data tab
This will eventually show useful information about the content
of tree models.
Diffstat (limited to 'modules/inspector/window.c')
-rw-r--r-- | modules/inspector/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/inspector/window.c b/modules/inspector/window.c index d93d2047fb..479c4e5802 100644 --- a/modules/inspector/window.c +++ b/modules/inspector/window.c @@ -35,6 +35,7 @@ #include "python-hooks.h" #include "python-shell.h" #include "button-path.h" +#include "data-list.h" #include "themes.h" #include "signals-list.h" @@ -78,6 +79,7 @@ on_widget_tree_selection_changed (GtkInspectorWidgetTree *wt, gtk_inspector_button_path_set_object (GTK_INSPECTOR_BUTTON_PATH (iw->button_path), selected); gtk_inspector_classes_list_set_object (GTK_INSPECTOR_CLASSES_LIST (iw->classes_list), selected); gtk_inspector_css_editor_set_object (GTK_INSPECTOR_CSS_EDITOR (iw->widget_css_editor), selected); + gtk_inspector_data_list_set_object (GTK_INSPECTOR_DATA_LIST (iw->data_list), selected); if (GTK_IS_WIDGET (selected)) gtk_inspector_flash_widget (iw, GTK_WIDGET (selected)); @@ -176,6 +178,7 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass) gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, object_hierarchy); gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, python_shell); gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, widget_popup); + gtk_widget_class_bind_template_child (widget_class, GtkInspectorWindow, data_list); gtk_widget_class_bind_template_callback (widget_class, on_inspect); gtk_widget_class_bind_template_callback (widget_class, on_graphic_updates_toggled); |