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
|
/* -*- Mode: Blueprint; indent-tabs-mode: nil; tab-width: 2 -*-
*
* SPDX-License-Identifier: CC-BY-SA-4.0
* SPDX-FileCopyrightText: Michael Terry
*/
using Gtk 4.0;
using Adw 1;
template $HelpButton: Adw.Bin {
MenuButton {
has-frame: false;
icon-name: bind template.icon-name;
popover: Popover {
ScrolledWindow {
propagate-natural-height: true;
propagate-natural-width: true;
Box box {
margin-bottom: 18;
margin-end: 18;
margin-start: 18;
margin-top: 18;
orientation: vertical;
}
}
};
accessibility {
label: _("Help");
}
}
}
|