Cache
These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations. More...
Functions | |
EAPI void | edje_collection_cache_flush (void) |
Clean the collection cache. | |
EAPI int | edje_collection_cache_get (void) |
Return the collection cache size. | |
EAPI void | edje_collection_cache_set (int count) |
Set the collection cache size. | |
EAPI void | edje_file_cache_flush (void) |
Clean the file cache. | |
EAPI int | edje_file_cache_get (void) |
Return the file cache size. | |
EAPI void | edje_file_cache_set (int count) |
Set the file cache size. |
Detailed Description
These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations.
Function Documentation
EAPI void edje_collection_cache_flush | ( | void | ) |
Clean the collection cache.
This function cleans the collection cache, but keeps this cache's size to the last value set.
References _edje_cache_coll_flush().
EAPI int edje_collection_cache_get | ( | void | ) |
Return the collection cache size.
- Returns:
- The collection cache size, in edje object units. Default is 16.
This function returns the collection cache size set by edje_collection_cache_set().
EAPI void edje_collection_cache_set | ( | int | count | ) |
Set the collection cache size.
- Parameters:
-
count The collection cache size, in edje object units. Default is 16.
This function sets the collection cache size. Edje keeps this cache in order to prevent duplicates of edje {collection,group,part} entries in memory. The collection cache size can be retrieved with edje_collection_cache_get().
References _edje_cache_coll_clean().
EAPI void edje_file_cache_flush | ( | void | ) |
Clean the file cache.
This function cleans the file cache entries, but keeps this cache's size to the last value set.
EAPI int edje_file_cache_get | ( | void | ) |
Return the file cache size.
- Returns:
- The file cache size in edje file units. Default is 16.
This function returns the file cache size set by edje_file_cache_set().
EAPI void edje_file_cache_set | ( | int | count | ) |
Set the file cache size.
- Parameters:
-
count The file cache size in edje file units. Default is 16.
This function sets the file cache size. Edje keeps this cache in order to prevent duplicates of edje file entries in memory. The file cache size can be retrieved with edje_file_cache_get().