Tizen Native API  4.0
Floatingbutton

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", "");

Functions

Evas_Objecteext_floatingbutton_add (Evas_Object *parent)
 Add a new floatingbutton to the parent.

Enumeration Type Documentation

Enumerator:
EEXT_FLOATINGBUTTON_MODE_DEFAULT 

allows all positions

EEXT_FLOATINGBUTTON_MODE_BOTH_SIDES 

allows LEFT and RIGHT positions only

EEXT_FLOATINGBUTTON_MODE_LAST 

indicates the last, do not use this

EEXT_FLOATINGBUTTON_MODE_DEFAULT 

allows all positions

EEXT_FLOATINGBUTTON_MODE_BOTH_SIDES 

allows LEFT and RIGHT positions only

EEXT_FLOATINGBUTTON_MODE_LAST 

indicates the last, do not use this

Enumerator:
EEXT_FLOATINGBUTTON_MODE_DEFAULT 

allows all positions

EEXT_FLOATINGBUTTON_MODE_BOTH_SIDES 

allows LEFT and RIGHT positions only

EEXT_FLOATINGBUTTON_MODE_LAST 

indicates the last, do not use this

EEXT_FLOATINGBUTTON_MODE_DEFAULT 

allows all positions

EEXT_FLOATINGBUTTON_MODE_BOTH_SIDES 

allows LEFT and RIGHT positions only

EEXT_FLOATINGBUTTON_MODE_LAST 

indicates the last, do not use this

Positions where floatingbutton can be placed on

Enumerator:
EEXT_FLOATINGBUTTON_LEFT_OUT 

hides in the left, but small handler will show only

EEXT_FLOATINGBUTTON_LEFT 

shows all of buttons, but lies on the left

EEXT_FLOATINGBUTTON_CENTER 

shows all of buttons, but lies on the center

EEXT_FLOATINGBUTTON_RIGHT 

shows all of buttons, but lies on the right

EEXT_FLOATINGBUTTON_RIGHT_OUT 

hides in the right, but small handler will show only

EEXT_FLOATINGBUTTON_LAST 

indicates the last, do not use this

EEXT_FLOATINGBUTTON_LEFT_OUT 

hides in the left, but small handler will show only

EEXT_FLOATINGBUTTON_LEFT 

shows all of buttons, but lies on the left

EEXT_FLOATINGBUTTON_CENTER 

shows all of buttons, but lies on the center

EEXT_FLOATINGBUTTON_RIGHT 

shows all of buttons, but lies on the right

EEXT_FLOATINGBUTTON_RIGHT_OUT 

hides in the right, but small handler will show only

EEXT_FLOATINGBUTTON_LAST 

indicates the last, do not use this

Positions where floatingbutton can be placed on

Enumerator:
EEXT_FLOATINGBUTTON_LEFT_OUT 

hides in the left, but small handler will show only

EEXT_FLOATINGBUTTON_LEFT 

shows all of buttons, but lies on the left

EEXT_FLOATINGBUTTON_CENTER 

shows all of buttons, but lies on the center

EEXT_FLOATINGBUTTON_RIGHT 

shows all of buttons, but lies on the right

EEXT_FLOATINGBUTTON_RIGHT_OUT 

hides in the right, but small handler will show only

EEXT_FLOATINGBUTTON_LAST 

indicates the last, do not use this

EEXT_FLOATINGBUTTON_LEFT_OUT 

hides in the left, but small handler will show only

EEXT_FLOATINGBUTTON_LEFT 

shows all of buttons, but lies on the left

EEXT_FLOATINGBUTTON_CENTER 

shows all of buttons, but lies on the center

EEXT_FLOATINGBUTTON_RIGHT 

shows all of buttons, but lies on the right

EEXT_FLOATINGBUTTON_RIGHT_OUT 

hides in the right, but small handler will show only

EEXT_FLOATINGBUTTON_LAST 

indicates the last, do not use this


Function Documentation

Add a new floatingbutton to the parent.

Since :
2.4
Parameters:
[in]parentThe parent object
Returns:
The new object or NULL if it cannot be created