File: menu_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 (28 lines) | stat: -rw-r--r-- 431 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
26
27
28
using Gtk 4.0;

menu my-menu {
  submenu {
    section {
      label: "test section";
    }

    item {
      label: C_("context", "test translated item");
    }

    item {
      label: "test item shorthand 1";
    }

    item {
      label: "test item shorthand 2";
      action: "app.test-action";
    }

    item {
      label: "test item shorthand 3";
      action: "app.test-action";
      icon: "test-symbolic";
    }
  }
}