blueprint-compiler/linter.blp
2024-01-26 18:19:06 +01:00

48 lines
651 B
Text

using Gtk 4.0;
using Adw 1;
// I don't have an accessibility label
Gtk.Image {
icon-name: "cat-symbolic";
}
Button {
icon-name: "foobar";
}
// I don't display children
Label {
Box {}
}
// I only diplay the last child
Adw.StatusPage {
Box {}
Box {}
}
// Prefer Adw.Bin if you have a single child
Gtk.Box {
Label {}
}
// I'm a user visible string that is not marked as translatable
Label {
label: "foo";
}
Button {
tooltip-text: "foo";
}
Window {
title: "foobar";
}
// State isn't the right property to use here
// use active instead
Switch {
state: false;
}
// In GTK4 widgets are visible by default
Box {
visible: true;
}