aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/layout/calc.txt
blob: 5beba94e1cebc43016e80881a94841faf729b7f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
~~Title: Efl.Layout.Calc~~
====== Efl.Layout.Calc (interface) ======

===== Description =====

%%This interface defines a common set of APIs used to trigger calculations with layout objects.%%

%%This defines all the APIs supported by legacy "Edje" object, known in EO API as Efl.Canvas.Layout.%%

//Since 1.21//

{{page>:develop:api-include:efl:layout:calc:description&nouser&nolink&nodate}}

===== Inheritance =====


++++ Inheritance graph |

<graphviz>
digraph hierarchy {
    bgcolor = "transparent"
    size = "6"
    rankdir = "TB"

    node [shape = "box"]
    edge [color = "gray35"]

    efl_layout_calc [fillcolor = "dodgerblue4", label = "Efl.Layout.Calc", color = "cornflowerblue", fontcolor = "white", style = "filled"]

}
</graphviz>

++++

++++ Full hierarchy |



++++
===== Members =====

**[[:develop:api:efl:layout:calc:method:calc_freeze|calc_freeze]]**
<code c>
int efl_layout_calc_freeze(Eo *obj);
</code>

%%Freezes the layout object.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:method:calc_parts_extends|calc_parts_extends]]**
<code c>
Eina_Rect efl_layout_calc_parts_extends(Eo *obj);
</code>

%%Calculates the geometry of the region, relative to a given layout object's area, occupied by all parts in the object.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:method:calc_size_min|calc_size_min]]**
<code c>
Eina_Size2D efl_layout_calc_size_min(Eo *obj, Eina_Size2D restricted);
</code>

%%Calculates the minimum required size for a given layout object.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:method:calc_thaw|calc_thaw]]**
<code c>
int efl_layout_calc_thaw(Eo *obj);
</code>

%%Thaws the layout object.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:property:calc_auto_update_hints|calc_auto_update_hints]]** //**(get, set)**//
<code c>
Eina_Bool efl_layout_calc_auto_update_hints_get(const Eo *obj);
void efl_layout_calc_auto_update_hints_set(Eo *obj, Eina_Bool update);
</code>

%%Whether this object updates its size hints automatically.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:method:calc_force|calc_force]]** ''protected''
<code c>
void efl_layout_calc_force(Eo *obj);
</code>

%%Forces a Size/Geometry calculation.%%\\ 
\\ 

===== Events =====

**[[:develop:api:efl:layout:calc:event:circular_dependency|circular,dependency]]**
<code c>
EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY(void)
</code>

%%A circular dependency between parts of the object was found.%%\\ 
\\ 
**[[:develop:api:efl:layout:calc:event:recalc|recalc]]**
<code c>
EFL_LAYOUT_EVENT_RECALC(void)
</code>

%%The layout was recalculated.%%\\ 
\\