~~Title: Efl.Ui.Win.center~~ ====== Efl.Ui.Win.center ====== ===== Description ===== %%Center a window on the screen.%% %%This function centers window %%''obj''%% horizontally and/or vertically based on the values of %%''h''%% and %%''v''%%.%% %%This is just a request that a Window Manager may ignore, so calling this function does not ensure in any way that the window will be centered afterwards.%% //Since 1.22// {{page>:develop:api-include:efl:ui:win:method:center:description&nouser&nolink&nodate}} ===== Signature ===== center @beta { params { @in h: bool; @in v: bool; } } ===== C signature ===== void efl_ui_win_center(Eo *obj, Eina_Bool h, Eina_Bool v); ===== Parameters ===== * **h** //(in)// - %%If %%''true''%%, center horizontally. If %%''false''%%, do not change horizontal location.%% * **v** //(in)// - %%If %%''true''%%, center vertically. If %%''false''%%, do not change vertical location.%% ===== Implemented by ===== * [[:develop:api:efl:ui:win:method:center|Efl.Ui.Win.center]]