File: pps-sidebar.blp

package info (click to toggle)
papers 49.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 21,140 kB
  • sloc: ansic: 37,721; sh: 197; xml: 127; makefile: 112
file content (25 lines) | stat: -rw-r--r-- 452 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
22
23
24
25
using Gtk 4.0;
using Adw 1;

template $PpsSidebar: Adw.Bin {
  child: Adw.ToolbarView {
    content: Adw.ViewStack stack {
      notify::visible-child => $visible_child_changed() swapped;
    };

    [bottom]
    Adw.InlineViewSwitcher {
      stack: stack;
      display-mode: icons;
      homogeneous: true;
      margin-top: 6;
      margin-bottom: 6;
      margin-start: 6;
      margin-end: 6;

      styles [
        "flat",
      ]
    }
  };
}