_Elm_Layout_Part_Alias_Description Struct Reference

- Main Page
- Related Pages
- Modules
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Data Fields
_Elm_Layout_Part_Alias_Description Struct Reference

Elementary Layout-based widgets may declare part proxies, i.e., aliases for real theme part names to expose to the API calls: More...

`#include <elm_layout_legacy.h>`

## Data Fields
const char * | alias
| Alternate name for a given (real) part.
const char * | real_part
| Target part name for the alias set on Efl.Ui.Layout_Part_Proxies_Description::real_part.

## Detailed Description

Elementary Layout-based widgets may declare part proxies, i.e., aliases for real theme part names to expose to the API calls:

- elm_layout_text_set()
- elm_layout_text_get()
- elm_layout_content_set()
- elm_layout_content_get()

- elm_layout_content_unset() and their equivalents. This list must be set on the "_smart_set_user()" function of inheriting widgets, so that part aliasing is handled automatically for them.

  Deprecated:
    Should not be used outside of EFL internal code.

## Field Documentation

## ◆ alias

const char* _Elm_Layout_Part_Alias_Description::alias

Alternate name for a given (real) part.

Calls receiving this string as a part name will be translated to the string at Efl.Ui.Layout_Part_Proxies_Description::real_part

## ◆ real_part

const char* _Elm_Layout_Part_Alias_Description::real_part

Target part name for the alias set on Efl.Ui.Layout_Part_Proxies_Description::real_part.

An example of usage would be "default" on that field, with "elm.content.swallow" on this one