mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
e586af3cf4
Mark strings in the source and in the templates as translatable. We use the same extract-strings utility as for libgtk itself.
71 lines
2.6 KiB
XML
71 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkListStore" id="model">
|
|
<columns>
|
|
<column type="gboolean"/>
|
|
<column type="gchararray"/>
|
|
<column type="PangoStyle"/>
|
|
</columns>
|
|
</object>
|
|
<template class="GtkInspectorClassesList" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkToolbar" id="toolbar">
|
|
<property name="visible">True</property>
|
|
<property name="icon-size">small-toolbar</property>
|
|
<property name="sensitive">False</property>
|
|
<child>
|
|
<object class="GtkToolButton">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">list-add</property>
|
|
<property name="tooltip-text" translatable="yes">Add a class</property>
|
|
<signal name="clicked" handler="add_clicked"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToolButton">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">document-revert</property>
|
|
<property name="tooltip-text" translatable="yes">Restore defaults for this widget</property>
|
|
<signal name="clicked" handler="restore_defaults_clicked"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="view">
|
|
<property name="visible">True</property>
|
|
<property name="model">model</property>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column">
|
|
<property name="title" translatable="yes">Name</property>
|
|
<child>
|
|
<object class="GtkCellRendererToggle">
|
|
<signal name="toggled" handler="enabled_toggled"/>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="active">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="name_renderer">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
<attribute name="style">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|