2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Config Elementary Config
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Elementary configuration is formed by a set options bounded to a
|
|
|
|
* given @ref Profile profile, like @ref Theme theme, @ref Fingers
|
2012-02-14 00:50:29 -08:00
|
|
|
* "finger size", etc. These are functions with which one synchronizes
|
2011-12-29 23:20:48 -08:00
|
|
|
* changes made to those values to the configuration storing files, de
|
|
|
|
* facto. You most probably don't want to use the functions in this
|
2012-02-14 00:50:29 -08:00
|
|
|
* group unless you're writing an elementary configuration manager.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Save back Elementary's configuration, so that it will persist on
|
|
|
|
* future sessions.
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @return @c EINA_TRUE, when successful. @c EINA_FALSE, otherwise.
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Config
|
|
|
|
*
|
|
|
|
* This function will take effect -- thus, do I/O -- immediately. Use
|
2012-03-05 04:16:31 -08:00
|
|
|
* it when you want to save all configuration changes at once. The
|
2011-12-29 23:20:48 -08:00
|
|
|
* current configuration set will get saved onto the current profile
|
|
|
|
* configuration file.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_config_save(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reload Elementary's configuration, bounded to current selected
|
|
|
|
* profile.
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @return @c EINA_TRUE, when successful. @c EINA_FALSE, otherwise.
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Config
|
|
|
|
*
|
|
|
|
* Useful when you want to force reloading of configuration values for
|
|
|
|
* a profile. If one removes user custom configuration directories,
|
|
|
|
* for example, it will force a reload with system values instead.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_reload(void);
|
|
|
|
|
2012-02-15 01:09:21 -08:00
|
|
|
/**
|
|
|
|
* Flush all config settings then apply those settings to all applications
|
|
|
|
* using elementary on the current display.
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-02-15 01:09:21 -08:00
|
|
|
* @ingroup Config
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_all_flush(void);
|
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup Profile Elementary Profile
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* 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
|
2012-02-14 00:50:29 -08:00
|
|
|
* functions in this group unless you're writing an elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
* configuration manager.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get Elementary's profile in use.
|
|
|
|
*
|
|
|
|
* This gets the global profile that is applied to all Elementary
|
|
|
|
* applications.
|
|
|
|
*
|
|
|
|
* @return The profile's name
|
|
|
|
* @ingroup Profile
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI const char *elm_config_profile_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get an Elementary's profile directory path in the filesystem. One
|
2012-03-04 21:31:49 -08:00
|
|
|
* may want to fetch a system profile's dir or a user one (fetched
|
2011-12-29 23:20:48 -08:00
|
|
|
* inside $HOME).
|
|
|
|
*
|
|
|
|
* @param profile The profile's name
|
2012-03-04 21:31:49 -08:00
|
|
|
* @param is_user Whether to lookup for a user profile (@c EINA_TRUE)
|
2011-12-29 23:20:48 -08:00
|
|
|
* or a system one (@c EINA_FALSE)
|
|
|
|
* @return The profile's directory path.
|
|
|
|
* @ingroup Profile
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @note You must free it with elm_config_profile_dir_free().
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI const char *elm_config_profile_dir_get(const char *profile, Eina_Bool is_user);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Free an Elementary's profile directory path, as returned by
|
2012-03-06 04:04:25 -08:00
|
|
|
* elm_config_profile_dir_get().
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @param p_dir The profile's path
|
|
|
|
* @ingroup Profile
|
|
|
|
*
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_profile_dir_free(const char *p_dir);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get Elementary's list of available profiles.
|
|
|
|
*
|
|
|
|
* @return The profiles list. List node data are the profile name
|
|
|
|
* strings.
|
|
|
|
* @ingroup Profile
|
|
|
|
*
|
|
|
|
* @note One must free this list, after usage, with the function
|
2012-03-06 04:04:25 -08:00
|
|
|
* elm_config_profile_list_free().
|
2011-12-29 23:20:48 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_List *elm_config_profile_list_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Free Elementary's list of available profiles.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @param l The profiles list, as returned by elm_config_profile_list_get().
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Profile
|
|
|
|
*
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_profile_list_free(Eina_List *l);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set Elementary's profile.
|
|
|
|
*
|
|
|
|
* This sets the global profile that is applied to Elementary
|
|
|
|
* applications. Just the process the call comes from will be
|
|
|
|
* affected.
|
|
|
|
*
|
|
|
|
* @param profile The profile's name
|
|
|
|
* @ingroup Profile
|
|
|
|
*
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_profile_set(const char *profile);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2012-04-16 18:35:46 -07:00
|
|
|
* @defgroup Scrolling Elementary Scrolling
|
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* These are functions setting how scrollable views in Elementary
|
|
|
|
* widgets should behave on user interaction.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get whether scrollers should bounce when they reach their
|
|
|
|
* viewport's edge during a scroll.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll bouncing state
|
|
|
|
*
|
|
|
|
* This is the default behavior for touch screens, in general.
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_scroll_bounce_enabled_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set whether scrollers should bounce when they reach their
|
|
|
|
* viewport's edge during a scroll.
|
|
|
|
*
|
|
|
|
* @param enabled the thumb scroll bouncing state
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_bounce_enabled_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_bounce_enabled_set(Eina_Bool enabled);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the amount of inertia a scroller will impose at bounce
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll bounce friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_bounce_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of inertia a scroller will impose at bounce
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll bounce friction
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_bounce_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_bounce_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the amount of inertia a <b>paged</b> scroller will impose at
|
|
|
|
* page fitting animations.
|
|
|
|
*
|
|
|
|
* @return the page scroll friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_page_scroll_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of inertia a <b>paged</b> scroller will impose at
|
|
|
|
* page fitting animations.
|
|
|
|
*
|
|
|
|
* @param friction the page scroll friction
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_page_scroll_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_page_scroll_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the amount of inertia a scroller will impose at region bring
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @return the bring in scroll friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_bring_in_scroll_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of inertia a scroller will impose at region bring
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @param friction the bring in scroll friction
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_bring_in_scroll_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_bring_in_scroll_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the amount of inertia scrollers will impose at animations
|
|
|
|
* triggered by Elementary widgets' zooming API.
|
|
|
|
*
|
|
|
|
* @return the zoom friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_zoom_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of inertia scrollers will impose at animations
|
|
|
|
* triggered by Elementary widgets' zooming API.
|
|
|
|
*
|
|
|
|
* @param friction the zoom friction
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_zoom_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_zoom_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get whether scrollers should be draggable from any point in their
|
|
|
|
* views.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll state
|
|
|
|
*
|
|
|
|
* @note This is the default behavior for touch screens, in general.
|
|
|
|
* @note All other functions namespaced with "thumbscroll" will only
|
|
|
|
* have effect if this mode is enabled.
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_scroll_thumbscroll_enabled_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set whether scrollers should be draggable from any point in their
|
|
|
|
* views.
|
|
|
|
*
|
|
|
|
* @param enabled the thumb scroll state
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_scroll_thumbscroll_enabled_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the number of pixels one should travel while dragging a
|
|
|
|
* scroller's view to actually trigger scrolling.
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @return the thumb scroll threshold
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* One would use higher values for touch screens, in general, because
|
|
|
|
* of their inherent imprecision.
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI unsigned int elm_config_scroll_thumbscroll_threshold_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the number of pixels one should travel while dragging a
|
|
|
|
* scroller's view to actually trigger scrolling.
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @param threshold the thumb scroll threshold
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_thumbscroll_threshold_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_threshold_set(unsigned int threshold);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
2013-03-07 01:13:15 -08:00
|
|
|
/**
|
|
|
|
* Get the number of pixels the range which can be scrolled,
|
|
|
|
* while the scroller is holded.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll hold threshold
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI unsigned int elm_config_scroll_thumbscroll_hold_threshold_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the number of pixels the range which can be scrolled,
|
|
|
|
* while the scroller is holded.
|
|
|
|
*
|
|
|
|
* @param threshold the thumb scroll hold threshold
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_hold_threshold_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_hold_threshold_set(unsigned int threshold);
|
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get the minimum speed of mouse cursor movement which will trigger
|
|
|
|
* list self scrolling animation after a mouse up event
|
|
|
|
* (pixels/second).
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @return the thumb scroll momentum threshold
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_thumbscroll_momentum_threshold_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the minimum speed of mouse cursor movement which will trigger
|
|
|
|
* list self scrolling animation after a mouse up event
|
|
|
|
* (pixels/second).
|
|
|
|
*
|
2012-02-14 00:50:29 -08:00
|
|
|
* @param threshold the thumb scroll momentum threshold
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_thumbscroll_momentum_threshold_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_momentum_threshold_set(double threshold);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the amount of inertia a scroller will impose at self scrolling
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_thumbscroll_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of inertia a scroller will impose at self scrolling
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll friction
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_thumbscroll_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
2013-04-30 06:06:28 -07:00
|
|
|
/**
|
|
|
|
* Get the min amount of inertia a scroller will impose at self scrolling
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll min friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_scroll_thumbscroll_min_friction_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the min amount of inertia a scroller will impose at self scrolling
|
|
|
|
* animations.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll min friction
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_min_friction_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_min_friction_set(double friction);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the standard velocity of the scroller. The scroll animation time is
|
|
|
|
* same with thumbscroll friction, if the velocity is same with standard
|
|
|
|
* velocity.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_scroll_thumbscroll_friction_standard_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the standard velocity of the scroller. The scroll animation time is
|
|
|
|
* same with thumbscroll friction, if the velocity is same with standard
|
|
|
|
* velocity.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll friction standard
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_friction_standard_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_friction_standard_set(double standard);
|
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get the amount of lag between your actual mouse cursor dragging
|
|
|
|
* movement and a scroller's view movement itself, while pushing it
|
|
|
|
* into bounce state manually.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll border friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_thumbscroll_border_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the amount of lag between your actual mouse cursor dragging
|
|
|
|
* movement and a scroller's view movement itself, while pushing it
|
|
|
|
* into bounce state manually.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll border friction. @c 0.0 for
|
|
|
|
* perfect synchrony between two movements, @c 1.0 for maximum
|
|
|
|
* lag.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_thumbscroll_border_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @note parameter value will get bound to 0.0 - 1.0 interval, always
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_border_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the sensitivity amount which is be multiplied by the length of
|
|
|
|
* mouse dragging.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll sensitivity friction
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scroll_thumbscroll_sensitivity_friction_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the sensitivity amount which is be multiplied by the length of
|
|
|
|
* mouse dragging.
|
|
|
|
*
|
|
|
|
* @param friction the thumb scroll sensitivity friction. @c 0.1 for
|
2012-02-14 00:50:29 -08:00
|
|
|
* minimum sensitivity, @c 1.0 for maximum sensitivity. 0.25
|
2011-12-29 23:20:48 -08:00
|
|
|
* is proper.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_thumbscroll_sensitivity_friction_get()
|
2011-12-29 23:20:48 -08:00
|
|
|
* @note parameter value will get bound to 0.1 - 1.0 interval, always
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scroll_thumbscroll_sensitivity_friction_set(double friction);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
2013-04-17 05:46:21 -07:00
|
|
|
/**
|
|
|
|
* Get the minimum speed of mouse cursor movement which will accelerate
|
|
|
|
* scrolling velocity after a mouse up event
|
|
|
|
* (pixels/second).
|
|
|
|
*
|
|
|
|
* @return the thumb scroll acceleration threshold
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_scroll_thumbscroll_acceleration_threshold_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the minimum speed of mouse cursor movement which will accelerate
|
|
|
|
* scrolling velocity after a mouse up event
|
|
|
|
* (pixels/second).
|
|
|
|
*
|
|
|
|
* @param threshold the thumb scroll acceleration threshold
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_acceleration_threshold_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_acceleration_threshold_set(double threshold);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the time limit for accelerating velocity.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll acceleration time limit
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_scroll_thumbscroll_acceleration_time_limit_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the time limit for accelerating velocity.
|
|
|
|
*
|
|
|
|
* @param threshold the thumb scroll acceleration time limit
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_acceleration_time_limit_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_acceleration_time_limit_set(double time_limit);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the weight for the acceleration.
|
|
|
|
*
|
|
|
|
* @return the thumb scroll acceleration weight
|
|
|
|
*
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_scroll_thumbscroll_acceleration_weight_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the weight for the acceleration.
|
|
|
|
*
|
|
|
|
* @param threshold the thumb scroll acceleration weight
|
|
|
|
*
|
|
|
|
* @see elm_config_thumbscroll_acceleration_weight_get()
|
|
|
|
* @ingroup Scrolling
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_scroll_thumbscroll_acceleration_weight_set(double weight);
|
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2012-02-14 00:50:29 -08:00
|
|
|
* Get the duration for occurring long press event.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @return Timeout for long press event
|
|
|
|
* @ingroup Longpress
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_longpress_timeout_get(void);
|
2011-12-29 23:20:48 -08:00
|
|
|
|
|
|
|
/**
|
2012-02-14 00:50:29 -08:00
|
|
|
* Set the duration for occurring long press event.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* @param lonpress_timeout Timeout for long press event
|
|
|
|
* @ingroup Longpress
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_longpress_timeout_set(double longpress_timeout);
|
2012-02-27 00:33:48 -08:00
|
|
|
|
2012-07-05 02:23:38 -07:00
|
|
|
typedef enum _Elm_Softcursor_Mode
|
|
|
|
{
|
|
|
|
ELM_SOFTCURSOR_MODE_AUTO, /**< Auto-detect if a software cursor should be used (default) */
|
|
|
|
ELM_SOFTCURSOR_MODE_ON, /**< Always use a softcursor */
|
|
|
|
ELM_SOFTCURSOR_MODE_OFF /**< Never use a softcursor */
|
2012-07-09 03:20:21 -07:00
|
|
|
} Elm_Softcursor_Mode; /**< @since 1.7 */
|
2012-07-05 02:23:38 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the mode used for software provided mouse cursors inline in the window
|
|
|
|
* canvas.
|
2013-04-17 10:18:47 -07:00
|
|
|
*
|
2012-07-05 02:23:38 -07:00
|
|
|
* A software rendered cursor can be provided for rendering inline inside the
|
|
|
|
* canvas windows in the event the native display system does not provide one
|
2013-04-17 10:18:47 -07:00
|
|
|
* or the native one is not wanted.
|
2012-07-05 02:23:38 -07:00
|
|
|
*
|
|
|
|
* @param lonpress_timeout Timeout for long press event
|
|
|
|
* @ingroup Softcursor
|
2013-04-17 10:18:47 -07:00
|
|
|
*
|
2012-07-05 02:23:38 -07:00
|
|
|
* @see elm_config_softcursor_mode_get()
|
2012-07-09 03:20:21 -07:00
|
|
|
* @since 1.7
|
2012-07-05 02:23:38 -07:00
|
|
|
*/
|
|
|
|
EAPI void elm_config_softcursor_mode_set(Elm_Softcursor_Mode mode);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the software cursor mode
|
|
|
|
*
|
|
|
|
* @return The mode used for software cursors
|
|
|
|
* @ingroup Softcursor
|
2013-04-17 10:18:47 -07:00
|
|
|
*
|
2012-07-05 02:23:38 -07:00
|
|
|
* @see elm_config_softcursor_mode_set()
|
2012-07-09 03:20:21 -07:00
|
|
|
* @since 1.7
|
2012-07-05 02:23:38 -07:00
|
|
|
*/
|
|
|
|
EAPI Elm_Softcursor_Mode elm_config_softcursor_mode_get(void);
|
|
|
|
|
2012-02-27 00:33:48 -08:00
|
|
|
/**
|
|
|
|
* Get the duration after which tooltip will be shown.
|
|
|
|
*
|
|
|
|
* @return Duration after which tooltip will be shown.
|
|
|
|
*/
|
|
|
|
EAPI double elm_config_tooltip_delay_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the duration after which tooltip will be shown.
|
|
|
|
*
|
2012-03-28 02:02:22 -07:00
|
|
|
* @return EINA_TRUE if value is set.
|
2012-02-27 00:33:48 -08:00
|
|
|
*/
|
2012-03-06 01:23:43 -08:00
|
|
|
EAPI void elm_config_tooltip_delay_set(double delay);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured cursor engine only usage
|
|
|
|
*
|
|
|
|
* This gets the globally configured exclusive usage of engine cursors.
|
|
|
|
*
|
|
|
|
* @return 1 if only engine cursors should be used
|
|
|
|
* @ingroup Cursors
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_cursor_engine_only_get(void);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured cursor engine only usage
|
|
|
|
*
|
|
|
|
* This sets the globally configured exclusive usage of engine cursors.
|
|
|
|
* It won't affect cursors set before changing this value.
|
|
|
|
*
|
|
|
|
* @param engine_only If 1 only engine cursors will be enabled, if 0 will
|
|
|
|
* look for them on theme before.
|
|
|
|
* @ingroup Cursors
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cursor_engine_only_set(Eina_Bool engine_only);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the global scaling factor
|
|
|
|
*
|
|
|
|
* This gets the globally configured scaling factor that is applied to all
|
|
|
|
* objects.
|
|
|
|
*
|
|
|
|
* @return The scaling factor
|
|
|
|
* @ingroup Scaling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_scale_get(void);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the global scaling factor
|
|
|
|
*
|
|
|
|
* This sets the globally configured scaling factor that is applied to all
|
|
|
|
* objects.
|
|
|
|
*
|
|
|
|
* @param scale The scaling factor to set
|
|
|
|
* @ingroup Scaling
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_scale_set(double scale);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup Password_last_show Password show last
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2012-03-06 01:23:43 -08:00
|
|
|
*
|
|
|
|
* Show last feature of password mode enables user to view
|
|
|
|
* the last input entered for few seconds before masking it.
|
|
|
|
* These functions allow to set this feature in password mode
|
|
|
|
* of entry widget and also allow to manipulate the duration
|
|
|
|
* for which the input has to be visible.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the "show last" setting of password mode.
|
|
|
|
*
|
|
|
|
* This gets the "show last" setting of password mode which might be
|
|
|
|
* enabled or disabled.
|
|
|
|
*
|
2012-03-28 02:02:22 -07:00
|
|
|
* @return @c EINA_TRUE, if the "show last" setting is enabled,
|
2012-03-06 01:23:43 -08:00
|
|
|
* @c EINA_FALSE if it's disabled.
|
|
|
|
*
|
|
|
|
* @ingroup Password_last_show
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_password_show_last_get(void);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set show last setting in password mode.
|
|
|
|
*
|
|
|
|
* This enables or disables show last setting of password mode.
|
|
|
|
*
|
|
|
|
* @param password_show_last If EINA_TRUE enables "show last" in password mode.
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_password_show_last_timeout_set()
|
2012-03-06 01:23:43 -08:00
|
|
|
* @ingroup Password_last_show
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_password_show_last_set(Eina_Bool password_show_last);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the timeout value in "show last" password mode.
|
|
|
|
*
|
|
|
|
* This gets the time out value for which the last input entered in password
|
|
|
|
* mode will be visible.
|
|
|
|
*
|
|
|
|
* @return The timeout value of "show last" password mode.
|
|
|
|
* @ingroup Password_last_show
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI double elm_config_password_show_last_timeout_get(void);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set's the timeout value in "show last" password mode.
|
|
|
|
*
|
|
|
|
* This sets the time out value for which the last input entered in password
|
|
|
|
* mode will be visible.
|
|
|
|
*
|
|
|
|
* @param password_show_last_timeout The timeout value.
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_password_show_last_set()
|
2012-03-06 01:23:43 -08:00
|
|
|
* @ingroup Password_last_show
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_password_show_last_timeout_set(double password_show_last_timeout);
|
2012-03-06 01:23:43 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2012-03-06 01:49:24 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Engine Elementary Engine
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* These are functions setting and querying which rendering engine
|
|
|
|
* Elementary will use for drawing its windows' pixels.
|
|
|
|
*
|
|
|
|
* The following are the available engines:
|
|
|
|
* @li "software_x11"
|
|
|
|
* @li "fb"
|
|
|
|
* @li "directfb"
|
|
|
|
* @li "software_16_x11"
|
|
|
|
* @li "software_8_x11"
|
|
|
|
* @li "xrender_x11"
|
|
|
|
* @li "opengl_x11"
|
|
|
|
* @li "software_gdi"
|
|
|
|
* @li "software_16_wince_gdi"
|
|
|
|
* @li "sdl"
|
|
|
|
* @li "software_16_sdl"
|
|
|
|
* @li "opengl_sdl"
|
|
|
|
* @li "buffer"
|
|
|
|
* @li "ews"
|
|
|
|
* @li "opengl_cocoa"
|
|
|
|
* @li "psl1ght"
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get Elementary's rendering engine in use.
|
|
|
|
*
|
|
|
|
* @return The rendering engine's name
|
|
|
|
* @note there's no need to free the returned string, here.
|
|
|
|
*
|
|
|
|
* This gets the global rendering engine that is applied to all Elementary
|
|
|
|
* applications.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_engine_set()
|
2012-03-06 01:49:24 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI const char *elm_config_engine_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Set Elementary's rendering engine for use.
|
|
|
|
*
|
|
|
|
* @param engine The rendering engine's name
|
|
|
|
*
|
|
|
|
* Note that it will take effect only to Elementary windows created after
|
|
|
|
* this is called.
|
|
|
|
*
|
|
|
|
* @see elm_win_add()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_engine_set(const char *engine);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get Elementary's preferred engine to use.
|
|
|
|
*
|
|
|
|
* @return The rendering engine's name
|
|
|
|
* @note there's no need to free the returned string, here.
|
|
|
|
*
|
|
|
|
* This gets the global rendering engine that is applied to all Elementary
|
|
|
|
* applications and is PREFERRED by the application. This can (and will)
|
|
|
|
* override the engine configured for all applications which.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_preferred_engine_set()
|
2012-03-06 01:49:24 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI const char *elm_config_preferred_engine_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Set Elementary's preferred rendering engine for use.
|
|
|
|
*
|
|
|
|
* @param engine The rendering engine's name
|
|
|
|
*
|
|
|
|
* Note that it will take effect only to Elementary windows created after
|
|
|
|
* this is called. This overrides the engine set by configuration at
|
|
|
|
* application startup. Note that it is a hint and may not be honored.
|
|
|
|
*
|
|
|
|
* @see elm_win_add()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_preferred_engine_set(const char *engine);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
typedef struct _Elm_Text_Class
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
const char *desc;
|
|
|
|
} Elm_Text_Class;
|
|
|
|
|
|
|
|
typedef struct _Elm_Font_Overlay
|
|
|
|
{
|
|
|
|
const char *text_class;
|
|
|
|
const char *font;
|
|
|
|
Evas_Font_Size size;
|
|
|
|
} Elm_Font_Overlay;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get Elementary's list of supported text classes.
|
|
|
|
*
|
|
|
|
* @return The text classes list, with @c Elm_Text_Class blobs as data.
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
|
|
|
* Release the list with elm_text_classes_list_free().
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_List *elm_config_text_classes_list_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Free Elementary's list of supported text classes.
|
|
|
|
*
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_text_classes_list_get().
|
2012-03-06 01:49:24 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_text_classes_list_free(Eina_List *list);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get Elementary's list of font overlays, set with
|
2012-03-06 04:04:25 -08:00
|
|
|
* elm_config_font_overlay_set().
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @return The font overlays list, with @c Elm_Font_Overlay blobs as
|
|
|
|
* data.
|
|
|
|
*
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
|
|
|
* For each text class, one can set a <b>font overlay</b> for it,
|
|
|
|
* overriding the default font properties for that class coming from
|
|
|
|
* the theme in use. There is no need to free this list.
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_font_overlay_set() and elm_config_font_overlay_unset().
|
2012-03-06 01:49:24 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI const Eina_List *elm_config_font_overlay_list_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set a font overlay for a given Elementary text class.
|
|
|
|
*
|
|
|
|
* @param text_class Text class name
|
|
|
|
* @param font Font name and style string
|
2012-10-31 05:09:33 -07:00
|
|
|
* @param size Font size.
|
|
|
|
*
|
|
|
|
* @note If the @p size is lower than zero, the value will be the amount of the size percentage. ex) -50: half of the current size, -100: current size, -10: 1/10 size.
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
2012-05-13 17:12:17 -07:00
|
|
|
* @p font has to be in the format returned by elm_font_fontconfig_name_get().
|
|
|
|
* @see elm_config_font_overlay_list_get()
|
|
|
|
* @see elm_config_font_overlay_unset()
|
|
|
|
* @see edje_object_text_class_set()
|
2012-03-06 01:49:24 -08:00
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
2012-06-29 23:01:25 -07:00
|
|
|
/**
|
|
|
|
* Get access mode
|
|
|
|
*
|
|
|
|
* @return the access mode bouncing state
|
|
|
|
*
|
2012-07-09 03:20:21 -07:00
|
|
|
* @since 1.7
|
2012-06-29 23:01:25 -07:00
|
|
|
*
|
2013-04-17 10:18:47 -07:00
|
|
|
* @ingroup Access
|
2012-06-29 23:01:25 -07:00
|
|
|
*
|
|
|
|
* @see elm_config_access_set()
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_config_access_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set access mode
|
|
|
|
*
|
|
|
|
* @param is_accesss If EINA_TRUE enables access mode
|
|
|
|
*
|
|
|
|
* @note Elementary objects may have information (e.g. label on the elm_button)
|
|
|
|
* to be read. This information is read by access module when an object
|
|
|
|
* receives EVAS_CALLBACK_MOUSE_IN event
|
|
|
|
*
|
2012-07-09 03:20:21 -07:00
|
|
|
* @since 1.7
|
2012-06-29 23:01:25 -07:00
|
|
|
*
|
2013-04-17 10:18:47 -07:00
|
|
|
* @ingroup Access
|
2012-06-29 23:01:25 -07:00
|
|
|
*
|
|
|
|
* @see elm_config_access_get()
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_access_set(Eina_Bool is_access);
|
|
|
|
|
2012-11-29 00:58:49 -08:00
|
|
|
/**
|
|
|
|
* Get whether selection should be cleared when entry widget is unfocused.
|
|
|
|
*
|
|
|
|
* @return if the selection would be cleared on unfocus.
|
|
|
|
*
|
|
|
|
* @since 1.7
|
|
|
|
*
|
2013-04-17 10:18:47 -07:00
|
|
|
* @ingroup Selection
|
2012-11-29 00:58:49 -08:00
|
|
|
*
|
|
|
|
* @see elm_config_selection_unfocused_clear_set()
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_config_selection_unfocused_clear_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set whether selection should be cleared when entry widget is unfocused.
|
|
|
|
*
|
|
|
|
* @param enabled If EINA_TRUE clear selection when unfocus,
|
|
|
|
* otherwise does not clear selection when unfocus.
|
|
|
|
*
|
|
|
|
* @since 1.7
|
|
|
|
*
|
2013-04-17 10:18:47 -07:00
|
|
|
* @ingroup Selection
|
2012-11-29 00:58:49 -08:00
|
|
|
*
|
|
|
|
* @see elm_config_selection_unfocused_clear_get()
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_selection_unfocused_clear_set(Eina_Bool enabled);
|
|
|
|
|
2012-03-06 01:49:24 -08:00
|
|
|
/**
|
|
|
|
* Unset a font overlay for a given Elementary text class.
|
|
|
|
*
|
|
|
|
* @param text_class Text class name
|
|
|
|
*
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
|
|
|
* This will bring back text elements belonging to text class
|
|
|
|
* @p text_class back to their default font settings.
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_font_overlay_unset(const char *text_class);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
2012-03-06 04:04:25 -08:00
|
|
|
* Apply the changes made with elm_config_font_overlay_set() and
|
|
|
|
* elm_config_font_overlay_unset() on the current Elementary window.
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @ingroup Fonts
|
|
|
|
*
|
|
|
|
* This applies all font overlays set to all objects in the UI.
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_font_overlay_apply(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured "finger size"
|
|
|
|
*
|
|
|
|
* @return The finger size
|
|
|
|
*
|
|
|
|
* This gets the globally configured finger size, <b>in pixels</b>
|
|
|
|
*
|
|
|
|
* @ingroup Fingers
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Evas_Coord elm_config_finger_size_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured finger size
|
|
|
|
*
|
|
|
|
* This sets the globally configured finger size in pixels
|
|
|
|
*
|
|
|
|
* @param size The finger size
|
|
|
|
* @ingroup Fingers
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_finger_size_set(Evas_Coord size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured cache flush interval time
|
|
|
|
*
|
|
|
|
* This gets the globally configured cache flush interval time, in
|
|
|
|
* ticks
|
|
|
|
*
|
|
|
|
* @return The cache flush interval time
|
|
|
|
* @ingroup Caches
|
|
|
|
*
|
|
|
|
* @see elm_cache_all_flush()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI int elm_config_cache_flush_interval_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured cache flush interval time
|
|
|
|
*
|
|
|
|
* This sets the globally configured cache flush interval time, in ticks
|
|
|
|
*
|
|
|
|
* @param size The cache flush interval time
|
2012-05-21 21:48:21 -07:00
|
|
|
*
|
2012-05-21 21:55:49 -07:00
|
|
|
* @note The @p size must be greater than 0. if not, the cache flush will be
|
2012-05-21 21:54:28 -07:00
|
|
|
* ignored.
|
2012-05-21 21:48:21 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* @ingroup Caches
|
|
|
|
*
|
|
|
|
* @see elm_cache_all_flush()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_flush_interval_set(int size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured cache flush enabled state
|
|
|
|
*
|
|
|
|
* This gets the globally configured cache flush state - if it is enabled
|
|
|
|
* or not. When cache flushing is enabled, elementary will regularly
|
2012-03-06 04:04:25 -08:00
|
|
|
* (see elm_config_cache_flush_interval_get() ) flush caches and dump data out of
|
2012-03-06 01:49:24 -08:00
|
|
|
* memory and allow usage to re-seed caches and data in memory where it
|
|
|
|
* can do so. An idle application will thus minimize its memory usage as
|
|
|
|
* data will be freed from memory and not be re-loaded as it is idle and
|
|
|
|
* not rendering or doing anything graphically right now.
|
|
|
|
*
|
|
|
|
* @return The cache flush state
|
|
|
|
* @ingroup Caches
|
|
|
|
*
|
|
|
|
* @see elm_cache_all_flush()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_cache_flush_enabled_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured cache flush enabled state
|
|
|
|
*
|
|
|
|
* This sets the globally configured cache flush enabled state.
|
|
|
|
*
|
|
|
|
* @param enabled The cache flush enabled state
|
|
|
|
* @ingroup Caches
|
|
|
|
*
|
|
|
|
* @see elm_cache_all_flush()
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_flush_enabled_set(Eina_Bool enabled);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured font cache size
|
|
|
|
*
|
2013-04-08 02:15:22 -07:00
|
|
|
* This gets the globally configured font cache size, in kilo bytes.
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @return The font cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI int elm_config_cache_font_cache_size_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured font cache size
|
|
|
|
*
|
2013-04-08 02:15:22 -07:00
|
|
|
* This sets the globally configured font cache size, in kilo bytes
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @param size The font cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_font_cache_size_set(int size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured image cache size
|
|
|
|
*
|
2013-04-08 02:15:22 -07:00
|
|
|
* This gets the globally configured image cache size, in kilo bytes
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @return The image cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI int elm_config_cache_image_cache_size_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured image cache size
|
|
|
|
*
|
2013-04-08 02:15:22 -07:00
|
|
|
* This sets the globally configured image cache size, in kilo bytes
|
2012-03-06 01:49:24 -08:00
|
|
|
*
|
|
|
|
* @param size The image cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_image_cache_size_set(int size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured edje file cache size.
|
|
|
|
*
|
|
|
|
* This gets the globally configured edje file cache size, in number
|
|
|
|
* of files.
|
|
|
|
*
|
|
|
|
* @return The edje file cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI int elm_config_cache_edje_file_cache_size_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured edje file cache size
|
|
|
|
*
|
|
|
|
* This sets the globally configured edje file cache size, in number
|
|
|
|
* of files.
|
|
|
|
*
|
|
|
|
* @param size The edje file cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_edje_file_cache_size_set(int size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the configured edje collections (groups) cache size.
|
|
|
|
*
|
|
|
|
* This gets the globally configured edje collections cache size, in
|
|
|
|
* number of collections.
|
|
|
|
*
|
|
|
|
* @return The edje collections cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI int elm_config_cache_edje_collection_cache_size_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the configured edje collections (groups) cache size
|
|
|
|
*
|
|
|
|
* This sets the globally configured edje collections cache size, in
|
|
|
|
* number of collections.
|
|
|
|
*
|
|
|
|
* @param size The edje collections cache size
|
|
|
|
* @ingroup Caches
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_cache_edje_collection_cache_size_set(int size);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the enable status of the focus highlight
|
|
|
|
*
|
|
|
|
* This gets whether the highlight on focused objects is enabled or not
|
|
|
|
*
|
2012-03-06 04:04:25 -08:00
|
|
|
* @see elm_config_focus_highlight_enabled_set()
|
2012-03-06 01:49:24 -08:00
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_focus_highlight_enabled_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the enable status of the focus highlight
|
|
|
|
*
|
|
|
|
* @param enable Enable highlight if EINA_TRUE, disable otherwise
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* Set whether to show or not the highlight on focused objects
|
|
|
|
*
|
|
|
|
* Note that it will take effect only to Elementary windows created after
|
|
|
|
* this is called.
|
|
|
|
*
|
|
|
|
* @see elm_win_add()
|
|
|
|
*
|
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_focus_highlight_enabled_set(Eina_Bool enable);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the enable status of the highlight animation
|
|
|
|
*
|
|
|
|
* @return The focus highlight mode set
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* Get whether the focus highlight, if enabled, will animate its switch from
|
|
|
|
* one object to the next
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI Eina_Bool elm_config_focus_highlight_animate_get(void);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the enable status of the highlight animation
|
|
|
|
*
|
|
|
|
* @param animate Enable animation if EINA_TRUE, disable otherwise
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* Set whether the focus highlight, if enabled, will animate its switch from
|
|
|
|
* one object to the next
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2012-03-06 01:49:24 -08:00
|
|
|
* Note that it will take effect only to Elementary windows created after
|
|
|
|
* this is called.
|
|
|
|
*
|
|
|
|
* @see elm_win_add()
|
|
|
|
*
|
|
|
|
* @ingroup Focus
|
|
|
|
*/
|
2012-03-06 04:04:25 -08:00
|
|
|
EAPI void elm_config_focus_highlight_animate_set(Eina_Bool animate);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the system mirrored mode. This determines the default mirrored mode
|
|
|
|
* of widgets.
|
|
|
|
*
|
|
|
|
* @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_config_mirrored_get(void);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the system mirrored mode. This determines the default mirrored mode
|
|
|
|
* of widgets.
|
|
|
|
*
|
|
|
|
* @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
|
|
|
|
*/
|
|
|
|
EAPI void elm_config_mirrored_set(Eina_Bool mirrored);
|
2012-03-06 01:49:24 -08:00
|
|
|
|
2012-11-15 02:43:26 -08:00
|
|
|
/**
|
|
|
|
* Get the indicator service name according to the rotation degree.
|
|
|
|
*
|
|
|
|
* @param rotation The rotation which related with the indicator service name, in degrees (0-360),
|
|
|
|
*
|
|
|
|
* @return The indicator service name according to the rotation degree.
|
|
|
|
*/
|
|
|
|
EAPI const char *elm_config_indicator_service_get(int rotation);
|
|
|
|
|
2012-03-06 01:49:24 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|