Macros | Functions
Separator

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

Macros

#define ELM_SEPARATOR_CLASS   elm_separator_class_get()
 Elementary separator class.
 

Functions

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

Detailed Description

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.

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

Function Documentation

◆ elm_obj_separator_horizontal_set()

EOAPI void elm_obj_separator_horizontal_set ( Eo obj,
Eina_Bool  horizontal 
)

Set the horizontal mode of a separator object.

Parameters
[in]objThe object.
[in]horizontalIf true, the separator is horizontal

Referenced by elm_separator_horizontal_set().

◆ elm_obj_separator_horizontal_get()

EOAPI Eina_Bool elm_obj_separator_horizontal_get ( const Eo obj)

Get the horizontal mode of a separator object.

Parameters
[in]objThe object.
Returns
If true, the separator is horizontal

Referenced by elm_separator_horizontal_get().

◆ elm_separator_horizontal_set()

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

References elm_obj_separator_horizontal_set().

◆ elm_separator_horizontal_get()

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

References elm_obj_separator_horizontal_get().

◆ elm_separator_add()

Evas_Object* elm_separator_add ( Evas_Object parent)

Add a separator object to parent.

Parameters
parentThe parent object
Returns
The separator object, or NULL upon failure