File: gtkcolumnview.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 (21 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using Gtk 4.0;

ColumnView {
  header-factory: BuilderListItemFactory {
    template ListHeader {}
  };

  row-factory: BuilderListItemFactory {
    template ColumnViewRow {}
  };

  ColumnViewColumn {
    factory: BuilderListItemFactory {
      template ColumnViewCell {
        child: Label {
          label: bind template.item as <$MyObject>.name;
        };
      }
    };
  }
}