~~Title: Efl.Ui.Win.win_role~~
====== Efl.Ui.Win.win_role ======
===== Description =====
%%The role of the window.%%
%%It is a hint of how the Window Manager should handle it. Unlike %%[[:develop:api:efl:ui:win:property:win_type|Efl.Ui.Win.win_type]]%% and %%[[:develop:api:efl:ui:win:property:win_name|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//
{{page>:develop:api-include:efl:ui:win:property:win_role:description&nouser&nolink&nodate}}
===== Values =====
* **role** - %%The role to set.%%
===== Signature =====
@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 =====
* [[:develop:api:efl:ui:win:property:win_role|Efl.Ui.Win.win_role]]