Center a window on the screen.
This function centers window obj
horizontally and/or vertically based on the values of h
and v
.
Since 1.22
center @beta { params { @in h: bool; @in v: bool; } }
void efl_ui_win_center(Eo *obj, Eina_Bool h, Eina_Bool v);
true
, center horizontally. If false
, do not change horizontal location.true
, center vertically. If false
, do not change vertical location.