These are functions setting how scrollable views in Elementary widgets should behave on user interaction. More...
Functions | |
Eina_Bool | elm_config_scroll_bounce_enabled_get (void) |
Get whether scrollers should bounce when they reach their viewport's edge during a scroll. More... | |
void | elm_config_scroll_bounce_enabled_set (Eina_Bool enabled) |
Set whether scrollers should bounce when they reach their viewport's edge during a scroll. More... | |
double | elm_config_scroll_bounce_friction_get (void) |
Get the amount of inertia a scroller will impose at bounce animations. More... | |
void | elm_config_scroll_bounce_friction_set (double friction) |
Set the amount of inertia a scroller will impose at bounce animations. More... | |
double | elm_config_scroll_page_scroll_friction_get (void) |
Get the amount of inertia a paged scroller will impose at page fitting animations. More... | |
void | elm_config_scroll_page_scroll_friction_set (double friction) |
Set the amount of inertia a paged scroller will impose at page fitting animations. More... | |
double | elm_config_scroll_bring_in_scroll_friction_get (void) |
Get the amount of inertia a scroller will impose at region bring animations. More... | |
void | elm_config_scroll_bring_in_scroll_friction_set (double friction) |
Set the amount of inertia a scroller will impose at region bring animations. More... | |
double | elm_config_scroll_zoom_friction_get (void) |
Get the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API. More... | |
void | elm_config_scroll_zoom_friction_set (double friction) |
Set the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API. More... | |
Eina_Bool | elm_config_scroll_thumbscroll_enabled_get (void) |
Get whether scrollers should be draggable from any point in their views. More... | |
void | elm_config_scroll_thumbscroll_enabled_set (Eina_Bool enabled) |
Set whether scrollers should be draggable from any point in their views. More... | |
unsigned int | elm_config_scroll_thumbscroll_threshold_get (void) |
Get the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling. More... | |
void | elm_config_scroll_thumbscroll_threshold_set (unsigned int threshold) |
Set the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling. More... | |
unsigned int | elm_config_scroll_thumbscroll_hold_threshold_get (void) |
Get the number of pixels the range which can be scrolled, while the scroller is holded. More... | |
void | elm_config_scroll_thumbscroll_hold_threshold_set (unsigned int threshold) |
Set the number of pixels the range which can be scrolled, while the scroller is holded. More... | |
double | elm_config_scroll_thumbscroll_momentum_threshold_get (void) |
Get the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second). More... | |
void | elm_config_scroll_thumbscroll_momentum_threshold_set (double threshold) |
Set the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second). More... | |
unsigned int | elm_config_scroll_thumbscroll_flick_distance_tolerance_get (void) |
Get the number of pixels the maximum distance which can be flicked. More... | |
void | elm_config_scroll_thumbscroll_flick_distance_tolerance_set (unsigned int distance) |
Set the number of pixels the maximum distance which can be flicked. More... | |
double | elm_config_scroll_thumbscroll_friction_get (void) |
Get the amount of inertia a scroller will impose at self scrolling animations. More... | |
void | elm_config_scroll_thumbscroll_friction_set (double friction) |
Set the amount of inertia a scroller will impose at self scrolling animations. More... | |
double | elm_config_scroll_thumbscroll_min_friction_get (void) |
Get the min amount of inertia a scroller will impose at self scrolling animations. More... | |
void | elm_config_scroll_thumbscroll_min_friction_set (double friction) |
Set the min amount of inertia a scroller will impose at self scrolling animations. More... | |
double | elm_config_scroll_thumbscroll_friction_standard_get (void) |
Get the standard velocity of the scroller. More... | |
void | elm_config_scroll_thumbscroll_friction_standard_set (double standard) |
Set the standard velocity of the scroller. More... | |
double | elm_config_scroll_thumbscroll_border_friction_get (void) |
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. More... | |
void | elm_config_scroll_thumbscroll_border_friction_set (double friction) |
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. More... | |
double | elm_config_scroll_thumbscroll_sensitivity_friction_get (void) |
Get the sensitivity amount which is be multiplied by the length of mouse dragging. More... | |
void | elm_config_scroll_thumbscroll_sensitivity_friction_set (double friction) |
Set the sensitivity amount which is be multiplied by the length of mouse dragging. More... | |
double | elm_config_scroll_thumbscroll_acceleration_threshold_get (void) |
Get the minimum speed of mouse cursor movement which will accelerate scrolling velocity after a mouse up event (pixels/second). More... | |
void | elm_config_scroll_thumbscroll_acceleration_threshold_set (double threshold) |
Set the minimum speed of mouse cursor movement which will accelerate scrolling velocity after a mouse up event (pixels/second). More... | |
double | elm_config_scroll_thumbscroll_acceleration_time_limit_get (void) |
Get the time limit for accelerating velocity. More... | |
void | elm_config_scroll_thumbscroll_acceleration_time_limit_set (double time_limit) |
Set the time limit for accelerating velocity. More... | |
double | elm_config_scroll_thumbscroll_acceleration_weight_get (void) |
Get the weight for the acceleration. More... | |
void | elm_config_scroll_thumbscroll_acceleration_weight_set (double weight) |
Set the weight for the acceleration. More... | |
EINA_DEPRECATED void | elm_scroll_bounce_enabled_all_set (Eina_Bool enabled) |
Set whether scrollers should bounce when they reach their viewport's edge during a scroll, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_bounce_friction_all_set (double friction) |
Set the amount of inertia a scroller will impose at bounce animations, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_page_scroll_friction_all_set (double friction) |
Set the amount of inertia a paged scroller will impose at page fitting animations, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_bring_in_scroll_friction_all_set (double friction) |
Set the amount of inertia a scroller will impose at region bring animations, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_zoom_friction_all_set (double friction) |
Set the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_enabled_all_set (Eina_Bool enabled) |
Set whether scrollers should be draggable from any point in their views, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_threshold_all_set (unsigned int threshold) |
Set the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_momentum_threshold_all_set (double threshold) |
Set the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second), for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_friction_all_set (double friction) |
Set the amount of inertia a scroller will impose at self scrolling animations, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_border_friction_all_set (double friction) |
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, for all Elementary application windows. More... | |
EINA_DEPRECATED void | elm_scroll_thumbscroll_sensitivity_friction_all_set (double friction) |
Set the sensitivity amount which is be multiplied by the length of mouse dragging, for all Elementary application windows. More... | |
These are functions setting how scrollable views in Elementary widgets should behave on user interaction.
Eina_Bool elm_config_scroll_bounce_enabled_get | ( | void | ) |
Get whether scrollers should bounce when they reach their viewport's edge during a scroll.
This is the default behavior for touch screens, in general.
void elm_config_scroll_bounce_enabled_set | ( | Eina_Bool | enabled | ) |
Set whether scrollers should bounce when they reach their viewport's edge during a scroll.
enabled | the thumb scroll bouncing state |
double elm_config_scroll_bounce_friction_get | ( | void | ) |
Get the amount of inertia a scroller will impose at bounce animations.
void elm_config_scroll_bounce_friction_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at bounce animations.
friction | the thumb scroll bounce friction |
double elm_config_scroll_bring_in_scroll_friction_get | ( | void | ) |
Get the amount of inertia a scroller will impose at region bring animations.
void elm_config_scroll_bring_in_scroll_friction_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at region bring animations.
friction | the bring in scroll friction |
double elm_config_scroll_page_scroll_friction_get | ( | void | ) |
Get the amount of inertia a paged scroller will impose at page fitting animations.
void elm_config_scroll_page_scroll_friction_set | ( | double | friction | ) |
Set the amount of inertia a paged scroller will impose at page fitting animations.
friction | the page scroll friction |
double elm_config_scroll_thumbscroll_acceleration_threshold_get | ( | void | ) |
Get the minimum speed of mouse cursor movement which will accelerate scrolling velocity after a mouse up event (pixels/second).
void elm_config_scroll_thumbscroll_acceleration_threshold_set | ( | double | threshold | ) |
Set the minimum speed of mouse cursor movement which will accelerate scrolling velocity after a mouse up event (pixels/second).
threshold | the thumb scroll acceleration threshold |
double elm_config_scroll_thumbscroll_acceleration_time_limit_get | ( | void | ) |
Get the time limit for accelerating velocity.
void elm_config_scroll_thumbscroll_acceleration_time_limit_set | ( | double | time_limit | ) |
Set the time limit for accelerating velocity.
time_limit | the thumb scroll acceleration time limit |
double elm_config_scroll_thumbscroll_acceleration_weight_get | ( | void | ) |
Get the weight for the acceleration.
void elm_config_scroll_thumbscroll_acceleration_weight_set | ( | double | weight | ) |
Set the weight for the acceleration.
weight | the thumb scroll acceleration weight |
double elm_config_scroll_thumbscroll_border_friction_get | ( | void | ) |
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.
void elm_config_scroll_thumbscroll_border_friction_set | ( | double | friction | ) |
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.
friction | the thumb scroll border friction. 0.0 for perfect synchrony between two movements, 1.0 for maximum lag. |
Eina_Bool elm_config_scroll_thumbscroll_enabled_get | ( | void | ) |
Get whether scrollers should be draggable from any point in their views.
void elm_config_scroll_thumbscroll_enabled_set | ( | Eina_Bool | enabled | ) |
Set whether scrollers should be draggable from any point in their views.
enabled | the thumb scroll state |
unsigned int elm_config_scroll_thumbscroll_flick_distance_tolerance_get | ( | void | ) |
Get the number of pixels the maximum distance which can be flicked.
If it is flicked more than this, the flick distance is same with maximum distance.
void elm_config_scroll_thumbscroll_flick_distance_tolerance_set | ( | unsigned int | distance | ) |
Set the number of pixels the maximum distance which can be flicked.
If it is flicked more than this, the flick distance is same with maximum distance.
distance | the thumb scroll maximum flick distance |
double elm_config_scroll_thumbscroll_friction_get | ( | void | ) |
Get the amount of inertia a scroller will impose at self scrolling animations.
void elm_config_scroll_thumbscroll_friction_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at self scrolling animations.
friction | the thumb scroll friction |
double elm_config_scroll_thumbscroll_friction_standard_get | ( | void | ) |
Get the standard velocity of the scroller.
The scroll animation time is same with thumbscroll friction, if the velocity is same with standard velocity.
void elm_config_scroll_thumbscroll_friction_standard_set | ( | double | standard | ) |
Set the standard velocity of the scroller.
The scroll animation time is same with thumbscroll friction, if the velocity is same with standard velocity.
standard | the thumb scroll friction standard |
unsigned int elm_config_scroll_thumbscroll_hold_threshold_get | ( | void | ) |
Get the number of pixels the range which can be scrolled, while the scroller is holded.
void elm_config_scroll_thumbscroll_hold_threshold_set | ( | unsigned int | threshold | ) |
Set the number of pixels the range which can be scrolled, while the scroller is holded.
threshold | the thumb scroll hold threshold |
double elm_config_scroll_thumbscroll_min_friction_get | ( | void | ) |
Get the min amount of inertia a scroller will impose at self scrolling animations.
void elm_config_scroll_thumbscroll_min_friction_set | ( | double | friction | ) |
Set the min amount of inertia a scroller will impose at self scrolling animations.
friction | the thumb scroll min friction |
double elm_config_scroll_thumbscroll_momentum_threshold_get | ( | void | ) |
Get the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second).
void elm_config_scroll_thumbscroll_momentum_threshold_set | ( | double | threshold | ) |
Set the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second).
threshold | the thumb scroll momentum threshold |
double elm_config_scroll_thumbscroll_sensitivity_friction_get | ( | void | ) |
Get the sensitivity amount which is be multiplied by the length of mouse dragging.
void elm_config_scroll_thumbscroll_sensitivity_friction_set | ( | double | friction | ) |
Set the sensitivity amount which is be multiplied by the length of mouse dragging.
friction | the thumb scroll sensitivity friction. 0.1 for minimum sensitivity, 1.0 for maximum sensitivity. 0.25 is proper. |
unsigned int elm_config_scroll_thumbscroll_threshold_get | ( | void | ) |
Get the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling.
One would use higher values for touch screens, in general, because of their inherent imprecision.
void elm_config_scroll_thumbscroll_threshold_set | ( | unsigned int | threshold | ) |
Set the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling.
threshold | the thumb scroll threshold |
double elm_config_scroll_zoom_friction_get | ( | void | ) |
Get the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API.
void elm_config_scroll_zoom_friction_set | ( | double | friction | ) |
Set the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API.
friction | the zoom friction |
EINA_DEPRECATED void elm_scroll_bounce_enabled_all_set | ( | Eina_Bool | enabled | ) |
Set whether scrollers should bounce when they reach their viewport's edge during a scroll, for all Elementary application windows.
enabled | the thumb scroll bouncing state |
EINA_DEPRECATED void elm_scroll_bounce_friction_all_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at bounce animations, for all Elementary application windows.
friction | the thumb scroll bounce friction |
EINA_DEPRECATED void elm_scroll_bring_in_scroll_friction_all_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at region bring animations, for all Elementary application windows.
friction | the bring in scroll friction |
EINA_DEPRECATED void elm_scroll_page_scroll_friction_all_set | ( | double | friction | ) |
Set the amount of inertia a paged scroller will impose at page fitting animations, for all Elementary application windows.
friction | the page scroll friction |
EINA_DEPRECATED void elm_scroll_thumbscroll_border_friction_all_set | ( | double | friction | ) |
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, for all Elementary application windows.
friction | the thumb scroll border friction. 0.0 for perfect synchrony between two movements, 1.0 for maximum lag. |
EINA_DEPRECATED void elm_scroll_thumbscroll_enabled_all_set | ( | Eina_Bool | enabled | ) |
Set whether scrollers should be draggable from any point in their views, for all Elementary application windows.
enabled | the thumb scroll state |
EINA_DEPRECATED void elm_scroll_thumbscroll_friction_all_set | ( | double | friction | ) |
Set the amount of inertia a scroller will impose at self scrolling animations, for all Elementary application windows.
friction | the thumb scroll friction |
EINA_DEPRECATED void elm_scroll_thumbscroll_momentum_threshold_all_set | ( | double | threshold | ) |
Set the minimum speed of mouse cursor movement which will trigger list self scrolling animation after a mouse up event (pixels/second), for all Elementary application windows.
threshold | the thumb scroll momentum threshold |
EINA_DEPRECATED void elm_scroll_thumbscroll_sensitivity_friction_all_set | ( | double | friction | ) |
Set the sensitivity amount which is be multiplied by the length of mouse dragging, for all Elementary application windows.
friction | the thumb scroll sensitivity friction. 0.1 for minimum sensitivity, 1.0 for maximum sensitivity. 0.25 is proper. |
EINA_DEPRECATED void elm_scroll_thumbscroll_threshold_all_set | ( | unsigned int | threshold | ) |
Set the number of pixels one should travel while dragging a scroller's view to actually trigger scrolling, for all Elementary application windows.
threshold | the thumb scroll threshold |
EINA_DEPRECATED void elm_scroll_zoom_friction_all_set | ( | double | friction | ) |
Set the amount of inertia scrollers will impose at animations triggered by Elementary widgets' zooming API, for all Elementary application windows.
friction | the zoom friction |