An actionslider is a switcher for two or three labels with customizable magnet properties.
The user drags and releases the indicator, to choose a label.
Labels can occupy the following positions.
Positions can be enabled or disabled.
Magnets can be set on the above positions.
When the indicator is released, it will move to its nearest “enabled and magnetized” position.
Bases: efl.elementary.__init__.LayoutClass
This is the class that actually implements the widget.
Parameters: |
|
---|
Called when the indicator reaches any of the positions left, right or center. The label is passed as event info.
Called when user selects an enabled position. The label is passed as event info.
The actionslider enabled position. To set multiple positions as enabled or them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
Note
All positions are enabled by default.
Type: | Actionslider positions |
---|
Indicator position.
Type: | Actionslider positions |
---|
The actionslider magnet position. To make multiple positions magnets or them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
Type: | Actionslider positions |
---|
Selected label.
Type: | string |
---|