group { name: "nameusedbytheapplication"; alias: "anothername"; min: width height; max: width height; parts { <definitions of parts> } script { <embryo script> } limits { vertical: "limit_name" height_barrier; horizontal: "limit_name" width_barrier; } data { items: "key" "value"; file: "key" "file"; } programs {} }
A group
block contains the list of parts and programs that compose a given Edje Object.
name [group name]
inherit_only [1 or 0]
edje_cc
resolving of programs and parts that may not exist in this group, but are located in the group which is inheriting this group.inherit [parent group name]
inherit
is used to inherit any predefined group and change some property which belongs to part
, description
, items
or program
. The child group has the same properties as its parent group. If you specify the type again in an inherited part, it causes an error.script_recursion [1/0]
script{}
block is unsafe, and the outer-most (first) Embryo stack is corrupted. It is strongly unadvisable to use this flag.alias [additional group name]
min [width] [height]
max [width] [height]
broadcast_signal [on/off]
orientation [AUTO/LTR/RTL]
AUTO
: Follow system defaultsLTR
: Used in Left To Right Languages (Latin)RTL
: Used in Right To Left Languages (Hebrew, Arabic interface)mouse_events [1 or 0]
mouse_events
for every part in this group. Default is “1”, to maintain compatibility.program_source [source name]
parts { part {} part {} part {} }
The parts
group contain one or more part
. Each part describes a visual
element and has a type: text
, image
, table
, etc.
For complete documentation, see the Part Block guide.
group { script { <embryo script> } program { script { <embryo script> } } }
This block is used to inject embryo scripts to a given Edje theme and it
functions in two modalities. When it is included inside a program
block,
the script is executed every time the program is run, on the other hand, when
included directly into a group
, part
, or description
block, it is
executed once at the load time, in the load order.
For more information, see the Program guide.
limits { vertical: "limit_name" height_barrier; horizontal: "limit_name" width_barrier; }
This block is used to trigger signals when the Edje object is resized.
vertical [name] [height barrier]
limit,name,over
when the object is resized and passes the limit by growing over it. When the object's size is reduced below the limit, signal limit,name,below
is sent. This limit is applied on the y axis and is given in pixels.horizontal [name] [width barrier]
limit,name,over
when the object is resized and passes the limit by growing over it. When the object's size is reduced below the limit, signal limit,name,below
is sent. This limit is applied on the x axis and is given in pixels.data { item: "key" "value"; file: "key2" "somefile"; }
The data
block is used to pass arbitrary parameters from the theme to the
application. Unlike the images
and fonts
blocks, additional data
blocks can only be included inside the group
block.
items: “key” “value”;
file: “key” “file”;
programs { program {} program {} program {} }
The programs
group contain one or more program
.
For more information about the program structure, see the Program guide.