mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
inspector: Add GtkTreeSelection to the object tree
It is not accessible, otherwise.
This commit is contained in:
parent
25721ae3e7
commit
d7850e8be0
@ -377,6 +377,10 @@ gtk_inspector_widget_tree_append_object (GtkInspectorWidgetTree *wt,
|
||||
if (child)
|
||||
gtk_inspector_widget_tree_append_object (wt, child, &iter, "model");
|
||||
|
||||
child = G_OBJECT (gtk_tree_view_get_selection (GTK_TREE_VIEW (object)));
|
||||
if (child)
|
||||
gtk_inspector_widget_tree_append_object (wt, child, &iter, "selection");
|
||||
|
||||
n_columns = gtk_tree_view_get_n_columns (GTK_TREE_VIEW (object));
|
||||
for (i = 0; i < n_columns; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user