
Mark strings in the source and in the templates as translatable. We use the same extract-strings utility as for libgtk itself.
114 lines
3.7 KiB
XML
114 lines
3.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="gboolean"/>
|
|
<column type="gboolean"/>
|
|
<column type="gboolean"/>
|
|
<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">Widget</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">7</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">7</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Realized</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle">
|
|
<property name="activatable">True</property>
|
|
<property name="indicator-size">10</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="active">3</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Mapped</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle">
|
|
<property name="activatable">True</property>
|
|
<property name="indicator-size">10</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="active">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Visible</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle">
|
|
<property name="activatable">True</property>
|
|
<property name="indicator-size">10</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="active">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">6</attribute>
|
|
<attribute name="sensitive">7</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|