Tizen Native API
|
Functions | |
Eina_Bool | eext_floatingbutton_pos_set (Eext_Floatingbutton *obj, Eext_Floatingbutton_Pos pos) |
Set the floatingbutton position. | |
Eext_Floatingbutton_Pos | eext_floatingbutton_pos_get (const Eext_Floatingbutton *obj) |
Get the floatingbutton position. | |
void | eext_floatingbutton_movement_block_set (Eext_Floatingbutton *obj, Eina_Bool block) |
Set whether floatingbutton can be moved or not. | |
Eina_Bool | eext_floatingbutton_movement_block_get (const Eext_Floatingbutton *obj) |
Get movability for a given floatingbutton widget. | |
void | eext_floatingbutton_mode_set (Eext_Floatingbutton *obj, Eext_Floatingbutton_Mode mode) |
Set floatingbutton mode. | |
Eext_Floatingbutton_Mode | eext_floatingbutton_mode_get (const Eext_Floatingbutton *obj) |
Get floatingbutton mode. | |
Eina_Bool | eext_floatingbutton_pos_bring_in (const Eext_Floatingbutton *obj, Eext_Floatingbutton_Pos pos) |
Set the floatingbutton position with animation. | |
Evas_Object * | eext_floatingbutton_add (Evas_Object *parent) |
Add a new floatingbutton to the parent. |
Widget to add floating area for buttons.
The Floatingbutton widget is not a real button, but only provides areas where application adds (maximum 2) buttons to.
This widget inherits from the Layout one, so that all the Layout functions can be used on it. However, it includes not only visible floating area, but invisible track for moving floating area, so there is a possibility that it works differently from that you intended.
Default content parts of the floatingbutton widget that you can use for are:
- "button1" - left area for button
- "button2" - right area for button
Floatingbutton can be hidden by siganl emission.
- show - elm_object_signal_emit(fb, "elm,state,show", "");
- hide - elm_object_signal_emit(fb, "elm,state,hide", "");
Enumeration Type Documentation
Positions where floatingbutton can be placed on
- Enumerator:
Function Documentation
Evas_Object* eext_floatingbutton_add | ( | Evas_Object * | parent | ) |
Add a new floatingbutton to the parent.
- Since :
- 2.4
- Parameters:
-
[in] parent The parent object
- Returns:
- The new object or NULL if it cannot be created
Eext_Floatingbutton_Mode eext_floatingbutton_mode_get | ( | const Eext_Floatingbutton * | obj | ) |
Get floatingbutton mode.
- See also:
- eext_floatingbutton_mode_set()
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object
void eext_floatingbutton_mode_set | ( | Eext_Floatingbutton * | obj, |
Eext_Floatingbutton_Mode | mode | ||
) |
Set floatingbutton mode.
- Remarks:
- Positions where floatingbutton can stop are restrained by mode.
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object [in] mode floatingbutton mode
Eina_Bool eext_floatingbutton_movement_block_get | ( | const Eext_Floatingbutton * | obj | ) |
Get movability for a given floatingbutton widget.
- Returns:
EINA_TRUE
, ifobj
is set to be unmovable,EINA_FALSE
, if it's movable.
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object
void eext_floatingbutton_movement_block_set | ( | Eext_Floatingbutton * | obj, |
Eina_Bool | block | ||
) |
Set whether floatingbutton can be moved or not.
- Remarks:
- By default, floatingbutton are movable by user interaction.
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object [in] block the floatingbutton movability
Eina_Bool eext_floatingbutton_pos_bring_in | ( | const Eext_Floatingbutton * | obj, |
Eext_Floatingbutton_Pos | pos | ||
) |
Set the floatingbutton position with animation.
- Remarks:
- Move floatingbutton similar to eext_floatingbutton_pos_set(), but with animation.
- Returns:
EINA_TRUE
on success,EINA_FALSE
otherwise.
- See also:
- eext_floatingbutton_pos_set()
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object [in] pos the floatingbutton position
Eext_Floatingbutton_Pos eext_floatingbutton_pos_get | ( | const Eext_Floatingbutton * | obj | ) |
Get the floatingbutton position.
- Returns:
- Floatingbutton position with Eext_Floatingbutton_Pos enumeration
- See also:
- eext_floatingbutton_pos_set()
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object
Eina_Bool eext_floatingbutton_pos_set | ( | Eext_Floatingbutton * | obj, |
Eext_Floatingbutton_Pos | pos | ||
) |
Set the floatingbutton position.
- Remarks:
- The floatingbutton can be moved among predefined positions (LEFT_OUT, LEFT, CENTER, RIGHT, RIGHT_OUT), eext_floatingbutton_pos_set() moves floatingbutton to a given position immediately (without animation).
- Returns:
EINA_TRUE
on success,EINA_FALSE
otherwise.
- Since :
- 2.4
- Parameters:
-
[in] obj The floatingbutton object [in] pos the floatingbutton position