Add type to BuilderListItemFactory extension

Makes it a little clearer how it works.
This commit is contained in:
James Westman 2023-05-13 16:49:12 -05:00
parent 7008924afe
commit 60f9173421
7 changed files with 38 additions and 4 deletions

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
BuilderListItemFactory {
template Label {}
}

View file

@ -0,0 +1 @@
4,3,17,Only Gtk.ListItem is allowed as a type here

View file

@ -1,7 +1,7 @@
using Gtk 4.0;
BuilderListItemFactory {
template {
template ListItem {
child: label;
}
}