spot/src/app/components/playback/playback_controls.blp
Théo Barnouin 15cf412840
Some checks are pending
spot-quality / ci-check (push) Waiting to run
spot-quality / shellcheck (push) Waiting to run
first commit
2024-11-13 16:41:51 +01:00

57 lines
1.1 KiB
Text

using Gtk 4.0;
template $PlaybackControlsWidget : Box {
halign: center;
hexpand: true;
spacing: 8;
homogeneous: true;
ToggleButton shuffle {
receives-default: true;
halign: center;
valign: center;
has-frame: false;
icon-name: "media-playlist-shuffle-symbolic";
tooltip-text: _("Shuffle");
}
Button prev {
receives-default: true;
halign: center;
valign: center;
has-frame: false;
icon-name: "media-skip-backward-symbolic";
tooltip-text: _("Previous");
}
Button play_pause {
receives-default: true;
halign: center;
valign: center;
icon-name: "media-playback-start-symbolic";
tooltip-text: "Play/Pause";
styles [
"circular",
"playback-button",
]
}
Button next {
receives-default: true;
halign: center;
valign: center;
has-frame: false;
icon-name: "media-skip-forward-symbolic";
tooltip-text: _("Next");
}
Button repeat {
receives-default: true;
halign: center;
valign: center;
has-frame: false;
icon-name: "media-playlist-consecutive-symbolic";
tooltip-text: _("Repeat");
}
}