File: list_factory_nested_dec.blp

package info (click to toggle)
blueprint-compiler 0.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: python: 8,504; sh: 31; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Gtk 4.0;

ListView {
  factory: BuilderListItemFactory list_item_factory {
    template ListItem {
      child: ListView {
        factory: BuilderListItemFactory list_item_factory {
          template ListItem {
            child: Label {
              label: bind template.item as <$MyObject>.name;
            };
          }
        };
      };
    }
  };
}