gnome-control-center/panels/common/cc-illustrated-row.ui
Felipe Borges c4e569610d common, multitasking: Introduce CcIllustratedRow
The CcIllustratedRow is a generalization of CcMultitaskingRow to
be used later in the Mouse settings.
2023-02-14 13:31:23 -03:00

34 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcIllustratedRow" parent="CcVerticalRow">
<child>
<object class="GtkEventControllerMotion">
<signal name="enter" handler="on_picture_hover_cb" object="CcIllustratedRow" swapped="yes"/>
<signal name="leave" handler="on_picture_leave_cb" object="CcIllustratedRow" swapped="yes"/>
</object>
</child>
<child type="content">
<object class="GtkBox" id="picture_box">
<property name="visible">False</property>
<property name="hexpand">True</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<style>
<class name="frame" />
<class name="background" />
</style>
<child>
<object class="GtkImage" id="picture">
<property name="hexpand">True</property>
<property name="halign">center</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="pixel-size">128</property>
</object>
</child>
</object>
</child>
</template>
</interface>