Moving the inspector into libgtk lets use reuse internals without having to add public API for everything or inventing awkward private call conventions. https://bugzilla.gnome.org/show_bug.cgi?id=730095
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<interface domain="gtk30">
 | 
						|
  <object class="GtkTreeStore" id="model">
 | 
						|
    <columns>
 | 
						|
      <column type="gchararray"/>
 | 
						|
    </columns>
 | 
						|
  </object>
 | 
						|
  <template class="GtkInspectorObjectHierarchy" parent="GtkBox">
 | 
						|
    <property name="orientation">horizontal</property>
 | 
						|
    <child>
 | 
						|
      <object class="GtkScrolledWindow">
 | 
						|
        <property name="visible">True</property>
 | 
						|
        <property name="expand">True</property>
 | 
						|
        <child>
 | 
						|
          <object class="GtkTreeView" id="tree">
 | 
						|
            <property name="visible">True</property>
 | 
						|
            <property name="model">model</property>
 | 
						|
            <child>
 | 
						|
              <object class="GtkTreeViewColumn">
 | 
						|
                <property name="title" translatable="yes">Object Hierarchy</property>
 | 
						|
                <child>
 | 
						|
                  <object class="GtkCellRendererText">
 | 
						|
                    <property name="scale">0.8</property>
 | 
						|
                  </object>
 | 
						|
                  <attributes>
 | 
						|
                    <attribute name="text">0</attribute>
 | 
						|
                  </attributes> 
 | 
						|
                </child>
 | 
						|
              </object>
 | 
						|
            </child>
 | 
						|
          </object>
 | 
						|
        </child>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
  </template>
 | 
						|
</interface>
 |