Table of Contents

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

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

Implemented by