prefs_example_01.epc

- Main Page
- Related Pages
- Modules
- Data Structures
- Files
- Examples

prefs_example_01.epc
collection
{
page
{
name: "main";
version: 1;
title: "Preferences Widget";
subtitle: "Example 01";
widget: "elm/vertical_box";
items {
item {
name: "universe";
type: INT;
label: "Ultimate Answer of Life, the Universe and Everything";
editable: 1;
int {
default: 42;
min: 0;
max: 150;
}
}
item {
name: "another int";
type: INT;
widget: "elm/spinner";
int {
min: 0;
max: 666;
}
}
item {
name: "label";
type: LABEL;
label: "Just a label...";
}
item {
name: "text";
type: TEXT;
editable: 1;
text {
placeholder: "This is a text field (:";
default: "default str.";
deny: "^[0-9]*$";
}
}
item {
name: "date";
type: DATE;
label: "First EFL Developer Day";
date {
default: 2012 11 05;
min: 1980 11 1;
max: 2200 12 2;
}
}
item {
name: "sep";
type: SEPARATOR;
}
item {
name: "save";
type: SAVE;
label: "Save";
}
item {
name: "reset";
type: RESET;
label: "Reset";
}
}
}
}