Description

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.

Values

  • role - The role to set.

Getter

Get the role of the window.

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.

Setter

Set the role of the window.

Signature

@property win_role {
    get {
        values {
            role: free(string, free);
        }
    }
    set {
        values {
            role: free(string, free);
        }
    }
}

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

  • Efl.Ui.Win.win_role