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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="PpsViewPresentation" parent="GtkWidget">
<property name="can-focus">True</property>
<property name="focusable">True</property>
<child>
<object class="GtkEventControllerScroll">
<property name="flags">vertical</property>
<signal name="scroll" handler="pps_view_presentation_scroll_event" />
</object>
</child>
<child>
<object class="GtkEventControllerKey">
<signal name="key-pressed" handler="pps_view_presentation_key_press_event" />
</object>
</child>
<child>
<object class="GtkEventControllerMotion">
<signal name="motion" handler="pps_view_presentation_motion_notify_event" />
</object>
</child>
<child>
<object class="GtkEventControllerFocus">
<signal name="enter" handler="pps_view_presentation_inhibit_screenlock" swapped="yes" />
<signal name="leave" handler="pps_view_presentation_uninhibit_screenlock" swapped="yes" />
</object>
</child>
<child>
<object class="GtkGestureClick">
<!-- GDK_BUTTON_PRIMARY -->
<property name="button">1</property>
<signal name="released" handler="pps_view_presentation_primary_button_released" />
</object>
</child>
<child>
<object class="GtkGestureClick">
<!-- GDK_BUTTON_SECONDARY -->
<property name="button">3</property>
<signal name="released" handler="pps_view_presentation_secondary_button_released" />
</object>
</child>
<child>
<object class="GtkPopover" id="goto_popup">
<property name="has-arrow">False</property>
<property name="position">bottom</property>
<property name="halign">start</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">3</property>
<property name="margin-top">3</property>
<property name="margin-start">3</property>
<property name="margin-bottom">3</property>
<property name="margin-end">3</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Jump to page:</property>
</object>
</child>
<child>
<object class="GtkEntry" id="goto_entry">
<signal name="activate" handler="pps_view_presentation_goto_entry_activate" />
</object>
</child>
</object>
</property>
</object>
</child>
</template>
</interface>
|