123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Generated with glade 3.38.2
- Copyright (C) 2017-2021
- This file is part of Bing Wallpaper.
- Bing Wallpaper is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- Bing Wallpaper is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with Bing Wallpaper. If not, see <http://www.gnu.org/licenses/>.
- Author: Michael Carroll
- -->
- <interface>
- <requires lib="gtk" version="4.0"/>
- <object class="GtkScrolledWindow" id="carouselScrollable">
- <property name="hscrollbar-policy">never</property>
- <property name="child">
- <object class="GtkViewport" id="carouselViewPort">
- <property name="can-focus">0</property>
- <property name="vexpand">0</property>
- <property name="height-request">500</property>
- <property name="child">
- <object class="GtkFlowBox" id="carouselFlowBox">
- <property name="can-focus">0</property>
- <property name="halign">center</property>
- <property name="homogeneous">1</property>
- <!-- <property name="max-children-per-line">5</property> -->
- <property name="min-children-per-line">2</property>
- <property name="row-spacing">10</property>
- <property name="column-spacing">4</property>
- </object>
- </property>
- </object>
- </property>
- </object>
- <object class="GtkFlowBoxChild" id="flowBoxChild">
- <property name="can-focus">0</property>
- <property name="child">
- <object class="GtkBox" id="imageGrid">
- <property name="can-focus">0</property>
- <property name="homogeneous">0</property>
- <property name="spacing">5</property>
- <!-- <property name="orientation">vertical</property> -->
- <child>
- <object class="GtkPicture" id="galleryImage">
- <property name="width-request">320</property>
- <property name="height-request">120</property>
- <property name="can-focus">0</property>
- <property name="hexpand">1</property>
- <property name="vexpand">1</property>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="buttonBar">
- <property name="can-focus">0</property>
- <property name="orientation">vertical</property>
- <property name="vexpand">1</property>
- <property name="valign">center</property>
- <child>
- <object class="GtkButton" id="favButton">
- <property name="tooltip-text" translatable="yes">Favorite</property>
- <property name='icon-name'>checkbox</property>
- <!-- <property name='icon-name'>checkbox-checked</property> -->
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="unfavButton">
- <property name="tooltip-text" translatable="yes">Favorite</property>
- <property name='icon-name'>checkbox-checked</property>
- <!-- <property name='icon-name'>checkbox-checked</property> -->
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="applyButton">
- <property name="tooltip-text" translatable="yes">Apply</property>
- <property name='icon-name'>preferences-desktop-wallpaper</property>
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="viewButton">
- <property name="tooltip-text" translatable="yes">View</property>
- <property name='icon-name'>view-reveal</property>
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="infoButton">
- <property name="tooltip-text" translatable="yes">Info</property>
- <property name='icon-name'>preferences-system-details</property>
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="deleteButton">
- <property name="tooltip-text" translatable="yes">Delete</property>
- <property name='icon-name'>edit-delete</property>
- <property name="receives-default">1</property>
- <property name="hexpand">0</property>
- <property name="halign">center</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </property>
- </object>
- <object class="GtkFlowBoxChild" id="flowBoxRandom">
- <property name="can-focus">0</property>
- <property name="child">
- <object class="GtkGrid" id="imageGrid">
- <property name="can-focus">0</property>
- <property name="halign">center</property>
- <child>
- <object class="GtkImage" id="randomImage">
- <property name="width-request">320</property>
- <property name="height-request">120</property>
- <property name="can-focus">0</property>
- <property name="icon-name">media-playlist-shuffle</property>
- <property name="icon_size">2</property>
- <layout>
- <property name="column">0</property>
- <property name="row">0</property>
- <property name="column-span">2</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="randomLabel">
- <property name="can-focus">0</property>
- <property name="label" translatable="yes"><image name here></property>
- <layout>
- <property name="column">0</property>
- <property name="row">1</property>
- <property name="column-span">2</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="randomButton">
- <property name="label" translatable="yes">Image shuffle mode</property>
- <property name="receives-default">1</property>
- <layout>
- <property name="column">0</property>
- <property name="row">2</property>
- <property name="column-span">2</property>
- </layout>
- </object>
- </child>
- </object>
- </property>
- </object>
- <object class="GtkFlowBoxChild" id="flowBoxPlaceholder">
- <property name="can-focus">0</property>
- <property name="child">
- <object class="GtkGrid" id="loadGrid">
- <property name="can-focus">0</property>
- <property name="halign">center</property>
- <child>
- <object class="GtkImage" id="loadImage">
- <property name="width-request">320</property>
- <property name="height-request">120</property>
- <property name="can-focus">0</property>
- <property name="icon-name">preferences-desktop-wallpaper-symbolic</property>
- <property name="icon_size">2</property>
- <layout>
- <property name="column">0</property>
- <property name="row">0</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="loadButton">
- <property name="label" translatable="yes">Load image gallery</property>
- <property name="receives-default">1</property>
- <layout>
- <property name="column">0</property>
- <property name="row">1</property>
- </layout>
- </object>
- </child>
- </object>
- </property>
- </object>
- </interface>
|