tizen 2.4 release
[framework/uifw/elementary.git] / src / examples / prefs_example_03.epc
1 collection 
2 {
3    page
4    {
5       name: "main";
6       version: 1;
7       title: "Preferences Widget";
8       subtitle: "Example 03";
9       widget: "elm/vertical_frame";
10
11       items {
12          item {
13             name: "config";
14             type: PAGE;
15             source: "configpage";
16          }
17
18          item {
19             name: "sep";
20             type: SEPARATOR;
21          }
22
23          item {
24             name: "swal";
25             type: SWALLOW;
26          }
27       }
28    }
29
30    page
31    {
32       name: "configpage";
33       version: 1;
34       title: "Preferences";
35       widget: "elm/horizontal_box";
36
37       items {
38          item {
39             name: "options";
40             type: PAGE;
41             source: "optionspage";
42          }
43
44          item {
45             name: "sep2";
46             type: SEPARATOR;
47          }
48
49          item {
50             name: "buttons";
51             type: PAGE;
52             source: "buttonspage";
53          }
54       }
55    }
56
57    page
58    {
59       name: "optionspage";
60       version: 1;
61       title: "Options";
62       widget: "elm/vertical_box";
63
64       items {
65          item {
66             name: "animation";
67             type: BOOL;
68             persistent: 1;
69             label: "Animation";
70
71             bool {
72                default: true;
73             }
74          }
75
76          item {
77             name: "animation_time";
78             type: FLOAT;
79             persistent: 1;
80             label: "Animation Time";
81
82             float {
83                default: 0.6;
84                min: 0.0;
85                max: 1.0;
86             }
87          }
88       }
89    }
90
91    page
92    {
93       name: "buttonspage";
94       version: 1;
95       title: "Actions";
96       widget: "elm/vertical_box";
97
98       items {
99          item {
100             name: "save";
101             type: SAVE;
102             label: "Save";
103          }
104
105          item {
106             name: "reset";
107             type: RESET;
108             label: "Reset";
109          }
110       }
111    }
112 }