Tizen Native API  5.0

Separator is a very thin object used to separate other objects.

separator_inheritance_tree.png

A separator can be vertical or horizontal.

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

This widget emits the signals coming from Layout.

Separator example is a good example of how to use a separator.

Functions

void elm_separator_horizontal_set (Elm_Separator *obj, Eina_Bool horizontal)
 Set the horizontal mode of a separator object.
Eina_Bool elm_separator_horizontal_get (const Elm_Separator *obj)
 Get the horizontal mode of a separator object.
Evas_Objectelm_separator_add (Evas_Object *parent)
 Add a separator object to parent.

Function Documentation

Add a separator object to parent.

Parameters:
parentThe parent object
Returns:
The separator object, or NULL upon failure
Examples:
fileselector_button_example.c, fileselector_entry_example.c, fileselector_example.c, index_example_01.c, separator_example_01.c, and win_example.c.
Eina_Bool elm_separator_horizontal_get ( const Elm_Separator *  obj)

Get the horizontal mode of a separator object.

Parameters:
[in]objThe object.
Returns:
If true, the separator is horizontal
void elm_separator_horizontal_set ( Elm_Separator *  obj,
Eina_Bool  horizontal 
)

Set the horizontal mode of a separator object.

Parameters:
[in]objThe object.
[in]horizontalIf true, the separator is horizontal
Examples:
fileselector_button_example.c, fileselector_entry_example.c, fileselector_example.c, index_example_01.c, separator_example_01.c, and win_example.c.