Tizen Native API
|
Profiles are pre-set options that affect the whole look-and-feel of Elementary-based applications.
* There are, for example, profiles aimed at desktop computer applications and others aimed at mobile, touchscreen-based ones. You most probably don't want to use the functions in this group unless you're writing an elementary configuration manager.
Functions | |
const char * | elm_config_profile_get (void) |
Gets Elementary's profile in use. | |
const char * | elm_config_profile_dir_get (const char *profile, Eina_Bool is_user) |
Gets an Elementary's profile directory path in the filesystem. One may want to fetch a system profile dir or a user one (fetched inside $HOME). | |
void | elm_config_profile_dir_free (const char *p_dir) |
Frees an Elementary's profile directory path, as returned by elm_config_profile_dir_get(). | |
Eina_List * | elm_config_profile_list_get (void) |
Gets an Elementary's list of available profiles. | |
void | elm_config_profile_list_free (Eina_List *l) |
Frees an Elementary's list of available profiles. | |
void | elm_config_profile_set (const char *profile) |
Sets an Elementary's profile. |
Function Documentation
void elm_config_profile_dir_free | ( | const char * | p_dir | ) |
Frees an Elementary's profile directory path, as returned by elm_config_profile_dir_get().
- Since :
- 2.3.1
- Parameters:
-
[in] p_dir The profile path
const char* elm_config_profile_dir_get | ( | const char * | profile, |
Eina_Bool | is_user | ||
) |
Gets an Elementary's profile directory path in the filesystem. One may want to fetch a system profile dir or a user one (fetched inside $HOME).
- Since :
- 2.3.1
- Remarks:
- You must free it using elm_config_profile_dir_free().
- Parameters:
-
[in] profile The profile name [in] is_user The boolean value that indicates whether to lookup for a user profile ( EINA_TRUE
) or a system one (EINA_FALSE
)
- Returns:
- The profile's directory path
const char* elm_config_profile_get | ( | void | ) |
Gets Elementary's profile in use.
This gets the global profile that is applied to all Elementary applications.
- Since :
- 2.3.1
- Returns:
- The profile name
void elm_config_profile_list_free | ( | Eina_List * | l | ) |
Frees an Elementary's list of available profiles.
- Since :
- 2.3.1
- Parameters:
-
[in] l The profile list, as returned by elm_config_profile_list_get()
Eina_List* elm_config_profile_list_get | ( | void | ) |
Gets an Elementary's list of available profiles.
- Since :
- 2.3.1
- Remarks:
- One must free this list, after usage, using the function elm_config_profile_list_free().
- Returns:
- The profiles list
List node data are the profile name strings.
void elm_config_profile_set | ( | const char * | profile | ) |
Sets an Elementary's profile.
This sets the global profile that is applied to Elementary applications. Only the process that the call comes from is affected.
- Since :
- 2.3.1
- Parameters:
-
[in] profile The profile name