prefs_example_03.epc

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

prefs_example_03.epc
collection
{
page
{
name: "main";
version: 1;
title: "Preferences Widget";
subtitle: "Example 03";
widget: "elm/vertical_frame";
items {
item {
name: "config";
type: PAGE;
source: "configpage";
}
item {
name: "sep";
type: SEPARATOR;
}
item {
name: "swal";
type: SWALLOW;
}
}
}
page
{
name: "configpage";
version: 1;
title: "Preferences";
widget: "elm/horizontal_box";
items {
item {
name: "options";
type: PAGE;
source: "optionspage";
}
item {
name: "sep2";
type: SEPARATOR;
}
item {
name: "buttons";
type: PAGE;
source: "buttonspage";
}
}
}
page
{
name: "optionspage";
version: 1;
title: "Options";
widget: "elm/vertical_box";
items {
item {
name: "animation";
type: BOOL;
persistent: 1;
label: "Animation";
bool {
default: true;
}
}
item {
name: "animation_time";
type: FLOAT;
persistent: 1;
label: "Animation Time";
float {
default: 0.6;
min: 0.0;
max: 1.0;
}
}
}
}
page
{
name: "buttonspage";
version: 1;
title: "Actions";
widget: "elm/vertical_box";
items {
item {
name: "save";
type: SAVE;
label: "Save";
}
item {
name: "reset";
type: RESET;
label: "Reset";
}
}
}
}