summaryrefslogtreecommitdiff
path: root/src/examples/prefs_example_04.epc
blob: 881861904536336d2a24396b67d9fe916e65b542 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
collection
{
   page
   {
      name: "main";
      version: 1;
      title: "Preferences Widget";
      subtitle: "Example 01";
      widget: "elm/vertical_box";

      items {

         item {
            name: "label";
            type: LABEL;
            label: "Filename";
         }

         item {
            name: "text";
            type: TEXT;
            editable: 1;

            text {
               placeholder: "test";
               default: "test";
               deny: "/";
            }
         }

         item {
            name: "sep";
            type: SEPARATOR;
         }

         item {
            name: "save";
            type: SAVE;
            label: "Save";
         }

         item {
            name: "reset";
            type: RESET;
            label: "Reset";
         }
      }
   }
}