aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/canvas/layout/property/size.txt
blob: 618cab07fdf219b08d7816a5c1ddc4a76d329b0d (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
~~Title: Efl.Canvas.Layout.size~~
===== Values =====

  * **size** - %%A 2D size in pixel units.%%
===== Description =====

%%The 2D size of a canvas object.%%


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

==== Getter ====

%%Retrieves the (rectangular) size of the given Evas object.%%


{{page>:develop:api-include:efl:canvas:layout:property:size:getter_description&nouser&nolink&nodate}}

==== Setter ====

%%Changes the size of the given object.%%

%%Note that setting the actual size of an object might be the job of its container, so this function might have no effect. Look at %%''Efl''%%.Gfx.Size.Hint instead, when manipulating widgets.%%
{{page>:develop:api-include:efl:canvas:layout:property:size:getter_description&nouser&nolink&nodate}}


//Overridden from [[:develop:api:efl:canvas:object:property:size|Efl.Gfx.size]] **(set)**.//===== Signature =====

<code>
@property size @pure_virtual {
    get {
        values {
            size: Eina.Size2D;
        }
    }
    set {
        values {
            size: Eina.Size2D;
        }
    }
}
</code>

===== C signature =====

<code c>
Eina_Size2D efl_gfx_size_get(const Eo *obj);
void efl_gfx_size_set(Eo *obj, Eina_Size2D size);
</code>

===== Implemented by =====

  * [[:develop:api:efl:gfx:property:size|Efl.Gfx.size]]