summaryrefslogblamecommitdiff
path: root/pages/develop/api/efl/access/component/property/position.txt
blob: 975623192c62444a8ad805bc19311a0061e6c0e6 (plain) (tree)
1
2
3
4
5
6
                                        




                                                                                                     






                                                                                                                          
 


                     
                                     
























                                

                                                                                               

       

                          
                                     
 
~~Title: Efl.Access.Component.position~~
===== Description =====

%%Position of accessible widget.%%
{{page>:develop:api-include:efl:access:component:property:position:description&nouser&nolink&nodate}}

===== Keys =====

  * **screen_coords** - %%If %%''true''%% x and y values will be relative to screen origin, otherwise relative to canvas%%
===== Values =====

  * **x** - %%X coordinate%%
  * **y** - %%Y coordinate%%

===== Signature =====

<code>
@property position @beta @protected {
    get {
        keys {
            screen_coords: bool;
        }
        values {
            x: int;
            y: int;
        }
    }
    set {
        keys {
            screen_coords: bool;
        }
        values {
            x: int;
            y: int;
        }
        return: bool;
    }
}
</code>

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

<code c>
void efl_access_component_position_get(const Eo *obj, Eina_Bool screen_coords, int *x, int *y);
Eina_Bool efl_access_component_position_set(Eo *obj, Eina_Bool screen_coords, int x, int y);
</code>

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

  * **Efl.Access.Component.position**