aboutsummaryrefslogblamecommitdiffstats
path: root/pages/develop/api/efl/layout/calc.txt
blob: 5beba94e1cebc43016e80881a94841faf729b7f4 (plain) (tree)




































































































                                                                                                                                           
~~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.%%\\ 
\\