diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/mouse/cc-mouse-test.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-upstream.tar.xz gnome-control-center-upstream.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | panels/mouse/cc-mouse-test.ui | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/panels/mouse/cc-mouse-test.ui b/panels/mouse/cc-mouse-test.ui new file mode 100644 index 0000000..c007361 --- /dev/null +++ b/panels/mouse/cc-mouse-test.ui @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <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> + <template class="CcMouseTest" parent="AdwBin"> + <child> + <object class="GtkBox" id="test_widget"> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="scrolledwindow"> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="vadjustment">scrolled_window_adjustment</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">always</property> + <property name="max_content_height">440</property> + <child> + <object class="GtkViewport" id="viewport"> + <child> + <object class="GtkOverlay" id="grid1"> + <child> + <object class="GtkPicture" id="image"> + <property name="margin_start">25</property> + <property name="margin_end">25</property> + <property name="can-shrink">False</property> + <property name="file">resource:///org/gnome/control-center/mouse/scroll-test.svg</property> + </object> + </child> + <child type="overlay"> + <object class="GtkDrawingArea" id="button_drawing_area"> + <property name="width_request">180</property> + <property name="height_request">180</property> + <property name="valign">end</property> + <property name="margin_top">20</property> + <property name="margin_bottom">20</property> + <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> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </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> + </child> + </object> + </child> + </template> +</interface> |