1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
<!-- SPDX-FileCopyrightText: 2014 Jonas Danielsson <jonas@threetimestwo.org> -->
<interface>
<template class="Gjs_MyComplexGtkSubclassFromResource" parent="GtkGrid">
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="margin_start">10</property>
<property name="margin_end">10</property>
<child>
<object class="GtkLabel" id="label-child">
<property name="label">Complex!</property>
<signal name="copy-clipboard" handler="templateCallback" swapped="no"/>
</object>
</child>
<child>
<object class="GtkLabel" id="label-child2">
<property name="label">Complex as well!</property>
<signal name="copy-clipboard" handler="boundCallback" object="label-child" swapped="no"/>
</object>
</child>
<child>
<object class="GtkLabel" id="internal-label-child">
<property name="label">Complex and internal!</property>
</object>
</child>
</template>
</interface>
|