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
		
			
				
	
	
		
			85 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			85 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<interface domain="gtk30">
 | 
						|
  <object class="GtkTreeStore" id="model">
 | 
						|
    <columns>
 | 
						|
      <column type="gpointer"/>
 | 
						|
      <column type="gchararray"/>
 | 
						|
      <column type="gchararray"/>
 | 
						|
      <column type="gchararray"/>
 | 
						|
      <column type="gchararray"/>
 | 
						|
      <column type="gboolean"/>
 | 
						|
    </columns>
 | 
						|
  </object>
 | 
						|
  <template class="GtkInspectorWidgetTree" parent="GtkTreeView">
 | 
						|
    <property name="model">model</property>
 | 
						|
    <property name="enable-search">True</property>
 | 
						|
    <property name="search-column">2</property>
 | 
						|
    <child internal-child="selection">
 | 
						|
      <object class="GtkTreeSelection">
 | 
						|
        <signal name="changed" handler="on_widget_selected"/>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
    <child>
 | 
						|
      <object class="GtkTreeViewColumn">
 | 
						|
        <property name="title" translatable="yes">Object</property>
 | 
						|
        <property name="resizable">True</property>
 | 
						|
        <child>
 | 
						|
          <object class="GtkCellRendererText">
 | 
						|
            <property name="scale">0.8</property>
 | 
						|
          </object>
 | 
						|
          <attributes>
 | 
						|
            <attribute name="text">1</attribute>
 | 
						|
            <attribute name="sensitive">5</attribute>
 | 
						|
          </attributes>
 | 
						|
        </child>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
    <child>
 | 
						|
      <object class="GtkTreeViewColumn">
 | 
						|
        <property name="title" translatable="yes">Name</property>
 | 
						|
        <property name="resizable">True</property>
 | 
						|
        <child>
 | 
						|
          <object class="GtkCellRendererText">
 | 
						|
            <property name="scale">0.8</property>
 | 
						|
          </object>
 | 
						|
          <attributes>
 | 
						|
            <attribute name="text">2</attribute>
 | 
						|
            <attribute name="sensitive">5</attribute>
 | 
						|
          </attributes>
 | 
						|
        </child>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
    <child>
 | 
						|
      <object class="GtkTreeViewColumn">
 | 
						|
        <property name="title" translatable="yes">Label</property>
 | 
						|
        <property name="resizable">True</property>
 | 
						|
        <child>
 | 
						|
          <object class="GtkCellRendererText">
 | 
						|
            <property name="scale">0.8</property>
 | 
						|
          </object>
 | 
						|
          <attributes>
 | 
						|
            <attribute name="text">3</attribute>
 | 
						|
            <attribute name="sensitive">5</attribute>
 | 
						|
          </attributes>
 | 
						|
        </child>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
    <child>
 | 
						|
      <object class="GtkTreeViewColumn">
 | 
						|
        <property name="title" translatable="yes">Address</property>
 | 
						|
        <property name="resizable">True</property>
 | 
						|
        <child>
 | 
						|
          <object class="GtkCellRendererText">
 | 
						|
            <property name="scale">0.8</property>
 | 
						|
            <property name="family">monospace</property>
 | 
						|
          </object>
 | 
						|
          <attributes>
 | 
						|
            <attribute name="text">4</attribute>
 | 
						|
            <attribute name="sensitive">5</attribute>
 | 
						|
          </attributes>
 | 
						|
        </child>
 | 
						|
      </object>
 | 
						|
    </child>
 | 
						|
  </template>
 | 
						|
</interface>
 |