2012-08-20 19:24:03 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.0 -->
|
2012-08-23 15:10:19 +02:00
|
|
|
<object class="GtkAdjustment" id="scrolled_window_adjustment">
|
|
|
|
<property name="upper">100</property>
|
|
|
|
<property name="value">100</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
</object>
|
2021-10-21 15:59:55 -03:00
|
|
|
<template class="CcMouseTest" parent="AdwBin">
|
2018-05-28 12:40:11 +12:00
|
|
|
<child>
|
2021-10-21 15:59:55 -03:00
|
|
|
<object class="GtkBox" id="test_widget">
|
2012-08-20 19:24:03 +02:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2021-10-21 15:59:55 -03:00
|
|
|
<property name="orientation">vertical</property>
|
2012-08-20 19:24:03 +02:00
|
|
|
<child>
|
2012-08-23 15:10:19 +02:00
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow">
|
2012-08-20 19:24:03 +02:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2012-08-23 15:10:19 +02:00
|
|
|
<property name="vadjustment">scrolled_window_adjustment</property>
|
2021-02-23 11:39:02 +01:00
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
2012-08-23 15:10:19 +02:00
|
|
|
<property name="vscrollbar_policy">always</property>
|
2016-07-08 00:51:27 -03:00
|
|
|
<property name="max_content_height">440</property>
|
2012-08-20 19:24:03 +02:00
|
|
|
<child>
|
2012-08-23 15:10:19 +02:00
|
|
|
<object class="GtkViewport" id="viewport">
|
|
|
|
<child>
|
2021-06-24 16:16:14 +02:00
|
|
|
<object class="GtkOverlay" id="grid1">
|
2012-08-23 15:10:19 +02:00
|
|
|
<child>
|
2021-10-21 15:59:55 -03:00
|
|
|
<object class="GtkPicture" id="image">
|
2013-11-19 22:27:42 +02:00
|
|
|
<property name="margin_start">25</property>
|
|
|
|
<property name="margin_end">25</property>
|
2021-10-21 15:59:55 -03:00
|
|
|
<property name="can-shrink">False</property>
|
|
|
|
<property name="file">resource:///org/gnome/control-center/mouse/scroll-test.svg</property>
|
2012-08-23 15:10:19 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
2021-06-24 16:16:14 +02:00
|
|
|
<child type="overlay">
|
2012-08-23 15:10:19 +02:00
|
|
|
<object class="GtkDrawingArea" id="button_drawing_area">
|
|
|
|
<property name="width_request">180</property>
|
|
|
|
<property name="height_request">180</property>
|
2021-06-24 16:16:14 +02:00
|
|
|
<property name="valign">end</property>
|
2012-08-23 15:10:19 +02:00
|
|
|
<property name="margin_top">20</property>
|
|
|
|
<property name="margin_bottom">20</property>
|
2021-10-21 15:59:55 -03:00
|
|
|
<child>
|
|
|
|
<object class="GtkGestureClick">
|
|
|
|
<property name="button">0</property>
|
|
|
|
<signal name="pressed" handler="button_drawing_area_button_pressed_cb" object="CcMouseTest" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
2012-08-23 15:10:19 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2012-08-20 19:24:03 +02:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2021-10-21 15:59:55 -03:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="information_label">
|
|
|
|
<property name="margin_top">10</property>
|
|
|
|
<property name="margin_bottom">5</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Try clicking, double clicking, scrolling</property>
|
|
|
|
<property name="wrap">True</property>
|
|
|
|
</object>
|
2012-08-20 19:24:03 +02:00
|
|
|
</child>
|
|
|
|
</object>
|
2018-05-28 12:40:11 +12:00
|
|
|
</child>
|
|
|
|
</template>
|
2012-08-20 19:24:03 +02:00
|
|
|
</interface>
|