3
interface Efl.Layout.Group
5
[[APIs representing static data from a group in an edje file.
10
@property group_size_min {
11
[[The minimum size specified -- as an EDC property -- for a
14
This property retrieves the obj object's minimum size values, as
15
declared in its EDC group definition. For instance, for an Edje
16
object of minimum size 100x100 pixels:
24
Note: If the $min EDC property was not declared for this object,
25
this call will return 0x0.
27
Note: On failure, this function also return 0x0.
29
See also @.group_size_max.
34
min: Eina.Size2D; [[The minimum size as set in EDC.]]
37
@property group_size_max {
38
[[The maximum size specified -- as an EDC property -- for a
41
This property retrieves the object's maximum size values, as
42
declared in its EDC group definition. For instance, for an Edje
43
object of maximum size 100x100 pixels:
51
Note: If the $max EDC property was not declared for the object,
52
this call will return the maximum size a given Edje object may
55
Note: On failure, this function will return 0x0.
57
See also @.group_size_min.
62
max: Eina.Size2D; [[The maximum size as set in EDC.]]
65
@property group_data {
66
[[The EDC data field's value from a given Edje object's group.
68
This property represents an EDC data field's value, which is declared
69
on the objects building EDC file, under its group. EDC data blocks
70
are most commonly used to pass arbitrary parameters from an
71
application's theme to its code.
73
EDC data fields always hold strings as values, hence the return
74
type of this function. Check the complete "syntax reference" for
77
This is how a data item is defined in EDC:
82
item: "key1" "value1";
83
item: "key2" "value2";
88
Warning: Do not confuse this call with edje_file_data_get(), which
89
queries for a global EDC data field on an EDC declaration file.
94
key: string; [[The data field's key string]]
97
val: string; [[The data's value string.]]
100
@property part_exist {
101
[[Whether the given part exists in this group.
103
This is mostly equivalent to verifying the part type on the object
104
as would be done in C as follows:
105
(efl_canvas_layout_part_type_get(efl_part(obj, "partname")) !=
106
EFL_CANVAS_LAYOUT_PART_TYPE_NONE)
108
The differences are that will silently return $false if the part
109
does not exist, and this will return $true if the part is of type
110
$SPACER in the EDC file ($SPACER parts have type $NONE).
112
See also @Efl.Canvas.Layout_Part_Type_Provider.part_type.
116
part: string; [[The part name to check.]]
119
exists: bool; [[$true if the part exists, $false otherwise.]]