projects
/
platform
/
upstream
/
edje.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.7.1
[platform/upstream/edje.git]
/
src
/
examples
/
embryo_set_text.edc
1
collections {
2
group { name: "main";
3
parts {
4
part { name: "bg";
5
type: RECT;
6
description { state: "default" 0.0;
7
color: 255 255 255 255;
8
}
9
}
10
part { name: "label";
11
type: TEXT;
12
description { state: "default" 0.0;
13
color: 0 0 0 255;
14
text {
15
text: "Click me.";
16
font: "Sans";
17
size: 12;
18
}
19
}
20
}
21
}
22
programs {
23
program {
24
signal: "mouse,down,1";
25
source: "label";
26
script {
27
set_text(PART:"label", "Clicked!");
28
}
29
}
30
program {
31
signal: "mouse,up,1";
32
source: "label";
33
script {
34
set_text(PART:"label", "Click me.");
35
}
36
}
37
}
38
}
39
}