1<?xml version="1.0" encoding="UTF-8"?> 2<interface> 3 <object class="GtkImage" id="view_all_image_artist"> 4 <property name="visible">True</property> 5 <property name="can_focus">False</property> 6 <property name="icon_name">go-next-symbolic</property> 7 <property name="icon_size">1</property> 8 </object> 9 <object class="GtkImage" id="view_all_image_album"> 10 <property name="visible">True</property> 11 <property name="can_focus">False</property> 12 <property name="icon_name">go-next-symbolic</property> 13 <property name="icon_size">1</property> 14 </object> 15 <template class="SearchView" parent="GtkStack"> 16 <property name="visible">True</property> 17 <child> 18 <object class="GtkScrolledWindow" id="_search_results"> 19 <property name="hexpand">True</property> 20 <property name="vexpand">True</property> 21 <property name="visible">True</property> 22 <child> 23 <object class="HdyClamp"> 24 <property name="maximum-size">1600</property> 25 <property name="visible">True</property> 26 <child> 27 <object class="GtkBox" id="container"> 28 <property name="halign">fill</property> 29 <property name="hexpand">True</property> 30 <property name="margin-bottom">20</property> 31 <property name="margin-end">120</property> 32 <property name="margin-start">120</property> 33 <property name="margin-top">20</property> 34 <property name="orientation">vertical</property> 35 <property name="visible">True</property> 36 <child> 37 <object class="GtkBox" id="_artist_header"> 38 <property name="halign">fill</property> 39 <property name="hexpand">True</property> 40 <property name="homogeneous">True</property> 41 <property name="orientation">horizontal</property> 42 <property name="visible">True</property> 43 <child> 44 <object class="GtkLabel"> 45 <property name="can_focus">False</property> 46 <property name="halign">start</property> 47 <property name="label" translatable="yes">Artists</property> 48 <property name="visible">True</property> 49 <style> 50 <class name="search-header"/> 51 </style> 52 </object> 53 </child> 54 <child> 55 <object class="GtkButton" id="_view_all_artists"> 56 <property name="halign">end</property> 57 <property name="label" translatable="yes">View All</property> 58 <property name="always_show_image">True</property> 59 <property name="image">view_all_image_artist</property> 60 <property name="image_position">right</property> 61 <property name="visible">True</property> 62 <signal name="button-release-event" handler="_on_all_artists_clicked" swapped="no"/> 63 </object> 64 </child> 65 </object> 66 </child> 67 <child> 68 <object class="GtkFlowBox" id="_artist_flowbox"> 69 <property name="column_spacing">6</property> 70 <property name="halign">fill</property> 71 <property name="hexpand">True</property> 72 <property name="homogeneous">True</property> 73 <property name="margin-bottom">18</property> 74 <property name="margin-top">18</property> 75 <property name="max-children-per-line">6</property> 76 <property name="min-children-per-line">1</property> 77 <property name="row_spacing">12</property> 78 <property name="selection-mode">none</property> 79 <property name="valign">start</property> 80 <property name="visible">True</property> 81 <signal name="child-activated" handler="_on_artist_activated" swapped="no"/> 82 <style> 83 <class name="content-view"/> 84 </style> 85 </object> 86 </child> 87 <child> 88 <object class="GtkBox" id="_album_header"> 89 <property name="halign">fill</property> 90 <property name="hexpand">True</property> 91 <property name="homogeneous">True</property> 92 <property name="orientation">horizontal</property> 93 <property name="visible">True</property> 94 <child> 95 <object class="GtkLabel"> 96 <property name="can_focus">False</property> 97 <property name="halign">start</property> 98 <property name="label" translatable="yes">Albums</property> 99 <property name="visible">True</property> 100 <style> 101 <class name="search-header"/> 102 </style> 103 </object> 104 </child> 105 <child> 106 <object class="GtkButton" id="_view_all_albums"> 107 <property name="halign">end</property> 108 <property name="label" translatable="yes">View All</property> 109 <property name="always_show_image">True</property> 110 <property name="image">view_all_image_album</property> 111 <property name="image_position">right</property> 112 <property name="visible">True</property> 113 <signal name="button-release-event" handler="_on_all_albums_clicked" swapped="no"/> 114 </object> 115 </child> 116 </object> 117 </child> 118 <child> 119 <object class="GtkFlowBox" id="_album_flowbox"> 120 <property name="halign">fill</property> 121 <property name="hexpand">True</property> 122 <property name="valign">start</property> 123 <property name="homogeneous">True</property> 124 <property name="min_children_per_line">1</property> 125 <property name="max_children_per_line">6</property> 126 <property name="margin-bottom">18</property> 127 <property name="margin-top">18</property> 128 <property name="row_spacing">12</property> 129 <property name="column_spacing">6</property> 130 <property name="selection_mode">none</property> 131 <property name="visible">True</property> 132 <signal name="child-activated" handler="_on_album_activated" swapped="no"/> 133 <style> 134 <class name="content-view"/> 135 </style> 136 </object> 137 </child> 138 <child> 139 <object class="GtkBox" id="_songs_header"> 140 <property name="halign">fill</property> 141 <property name="hexpand">True</property> 142 <property name="homogeneous">True</property> 143 <property name="orientation">horizontal</property> 144 <property name="visible">True</property> 145 <child> 146 <object class="GtkLabel"> 147 <property name="can_focus">False</property> 148 <property name="halign">start</property> 149 <property name="label" translatable="yes">Songs</property> 150 <property name="visible">True</property> 151 <style> 152 <class name="search-header"/> 153 </style> 154 </object> 155 </child> 156 </object> 157 </child> 158 <child> 159 <object class="GtkListBox" id="_songs_listbox"> 160 <property name="margin-top">20</property> 161 <property name="visible">True</property> 162 <signal name="row-activated" handler="_song_activated" swapped="no"/> 163 <style> 164 <class name="content"/> 165 </style> 166 </object> 167 </child> 168 </object> 169 </child> 170 </object> 171 </child> 172 </object> 173 </child> 174 <child> 175 <object class="GtkScrolledWindow" id="_all_search_results"> 176 <property name="hexpand">True</property> 177 <property name="vexpand">True</property> 178 <property name="visible">True</property> 179 <child> 180 <object class="HdyClamp"> 181 <property name="maximum-size">1600</property> 182 <property name="visible">True</property> 183 <child> 184 <object class="GtkBox"> 185 <property name="halign">fill</property> 186 <property name="hexpand">True</property> 187 <property name="margin-bottom">20</property> 188 <property name="margin-end">120</property> 189 <property name="margin-start">120</property> 190 <property name="margin-top">20</property> 191 <property name="orientation">vertical</property> 192 <property name="visible">True</property> 193 <child> 194 <object class="GtkFlowBox" id="_artist_all_flowbox"> 195 <property name="column_spacing">6</property> 196 <property name="halign">fill</property> 197 <property name="hexpand">True</property> 198 <property name="homogeneous">True</property> 199 <property name="margin-bottom">18</property> 200 <property name="margin-top">18</property> 201 <property name="max-children-per-line">6</property> 202 <property name="min-children-per-line">1</property> 203 <property name="row_spacing">12</property> 204 <property name="selection-mode">none</property> 205 <property name="valign">start</property> 206 <signal name="child-activated" handler="_on_artist_activated" swapped="no"/> 207 <style> 208 <class name="content-view"/> 209 </style> 210 </object> 211 </child> 212 <child> 213 <object class="GtkFlowBox" id="_album_all_flowbox"> 214 <property name="halign">fill</property> 215 <property name="hexpand">True</property> 216 <property name="valign">start</property> 217 <property name="homogeneous">True</property> 218 <property name="min_children_per_line">1</property> 219 <property name="max_children_per_line">6</property> 220 <property name="margin-bottom">18</property> 221 <property name="margin-top">18</property> 222 <property name="row_spacing">12</property> 223 <property name="column_spacing">6</property> 224 <property name="selection_mode">none</property> 225 <property name="visible">True</property> 226 <signal name="child-activated" handler="_on_album_activated" swapped="no"/> 227 <style> 228 <class name="content-view"/> 229 </style> 230 </object> 231 </child> 232 </object> 233 </child> 234 </object> 235 </child> 236 </object> 237 </child> 238 <child> 239 <object class="GtkScrolledWindow" id="_scrolled_album_widget"> 240 <property name="visible">True</property> 241 <property name="hscrollbar_policy">never</property> 242 </object> 243 </child> 244 </template> 245 <object class="GtkGestureMultiPress" id="_songs_listbox_ctrlr"> 246 <property name="widget">_songs_listbox</property> 247 <property name="propagation-phase">capture</property> 248 <property name="button">3</property> 249 <signal name="pressed" handler="_songs_listbox_right_click" swapped="no"/> 250 </object> 251</interface> 252