mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
Add type to BuilderListItemFactory extension
Makes it a little clearer how it works.
This commit is contained in:
parent
7008924afe
commit
60f9173421
7 changed files with 38 additions and 4 deletions
|
@ -2,7 +2,7 @@ using Gtk 4.0;
|
|||
|
||||
Gtk.ListView {
|
||||
factory: Gtk.BuilderListItemFactory list_item_factory {
|
||||
template {
|
||||
template ListItem {
|
||||
child: Label {
|
||||
label: "Hello";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue