The role of the window.

It is a hint of how the Window Manager should handle it. Unlike Efl.Ui.Win.win_type and Efl.Ui.Win.win_name this can be changed at runtime.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new role is set or if the window is destroyed.

Since 1.22


  • role - The role to set.


@property win_role @beta {
    get {}
    set {}
    values {
        role: string;

C signature

const char *efl_ui_win_role_get(const Eo *obj);
void efl_ui_win_role_set(Eo *obj, const char *role);

Implemented by