Functions
Actionslider

Functions

Elm_Actionslider_Pos elm_actionslider::indicator_pos_get () const
 Get actionslider indicator position. More...
 
void elm_actionslider::indicator_pos_set (Elm_Actionslider_Pos pos_) const
 Get actionslider indicator position. More...
 
Elm_Actionslider_Pos elm_actionslider::magnet_pos_get () const
 Get actionslider magnet position. More...
 
void elm_actionslider::magnet_pos_set (Elm_Actionslider_Pos pos_) const
 Get actionslider magnet position. More...
 
Elm_Actionslider_Pos elm_actionslider::enabled_pos_get () const
 Get actionslider enabled position. More...
 
void elm_actionslider::enabled_pos_set (Elm_Actionslider_Pos pos_) const
 Get actionslider enabled position. More...
 
std::string elm_actionslider::selected_label_get () const
 Get actionslider selected label. More...
 
Evas_Object * elm_actionslider_add (Evas_Object *parent)
 Add a new actionslider to the parent. More...
 

Detailed Description

actionslider_inheritance_tree.png
preview-00.png

An actionslider is a switcher for 2 or 3 labels with customizable magnet properties. The user drags and releases the indicator, to choose a label.

Labels occupy the following positions. a. Left b. Right c. Center

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.

Note
By default all positions are set as enabled.

This widget inherits from the Layout one, so that all the functions acting on it also work for actionslider objects.

This widget emits the following signals, besides the ones sent from Layout:

Default text parts of the actionslider widget that you can use for are:

Supported elm_object common APIs.

See an example of actionslider usage here

Function Documentation

Evas_Object* elm_actionslider_add ( Evas_Object *  parent)

Add a new actionslider to the parent.

Parameters
parentThe parent object
Returns
The new actionslider object or NULL if it cannot be created
Elm_Actionslider_Pos elm_actionslider::enabled_pos_get ( ) const
inline

Get actionslider enabled position.

Returns
The enabled positions.
Parameters
posBit mask indicating the enabled positions.
void elm_actionslider::enabled_pos_set ( Elm_Actionslider_Pos  pos_) const
inline

Get actionslider enabled position.

Returns
The enabled positions.
Parameters
posBit mask indicating the enabled positions.
Elm_Actionslider_Pos elm_actionslider::indicator_pos_get ( ) const
inline

Get actionslider indicator position.

Returns
The position of the indicator.
Parameters
posThe position of the indicator.
void elm_actionslider::indicator_pos_set ( Elm_Actionslider_Pos  pos_) const
inline

Get actionslider indicator position.

Returns
The position of the indicator.
Parameters
posThe position of the indicator.
Elm_Actionslider_Pos elm_actionslider::magnet_pos_get ( ) const
inline

Get actionslider magnet position.

Returns
The positions with magnet property.
Parameters
posBit mask indicating the magnet positions.
void elm_actionslider::magnet_pos_set ( Elm_Actionslider_Pos  pos_) const
inline

Get actionslider magnet position.

Returns
The positions with magnet property.
Parameters
posBit mask indicating the magnet positions.
std::string elm_actionslider::selected_label_get ( ) const
inline

Get actionslider selected label.

Returns
The selected label