blob: a108ba77e78a8de708578445257852311e850240 (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.10 -->
<template class="GsScreenshotImage" parent="GtkWidget">
<accessibility>
<property name="label" translatable="yes">Screenshot</property>
</accessibility>
<style>
<class name="screenshot-image"/>
</style>
<child>
<object class="GtkOverlay" id="overlay">
<property name="halign">fill</property>
<property name="valign">fill</property>
<child type="overlay">
<object class="GtkSpinner" id="spinner">
<property name="width_request">32</property>
<property name="height_request">32</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<style>
<class name="fade-in"/>
</style>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="transition-type">crossfade</property>
<child>
<object class="GtkStackPage">
<property name="name">image1</property>
<property name="child">
<object class="GtkPicture" id="image1">
<style>
<class name="image1"/>
</style>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">image2</property>
<property name="child">
<object class="GtkPicture" id="image2">
<style>
<class name="image2"/>
</style>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">video</property>
<property name="child">
<object class="GtkVideo" id="video">
<style>
<class name="video"/>
</style>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">error</property>
<property name="child">
<object class="GtkBox" id="box_error">
<property name="halign">center</property>
<property name="valign">center</property>
<property name="orientation">vertical</property>
<property name="spacing">4</property>
<child>
<object class="GtkImage" id="image_error">
<property name="icon-name">dialog-error-symbolic</property>
<property name="pixel-size">48</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_error"/>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>
|