diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/src/lib/elm_separator.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libraries/elementary/src/lib/elm_separator.h b/libraries/elementary/src/lib/elm_separator.h new file mode 100644 index 0000000..1bc02d9 --- /dev/null +++ b/libraries/elementary/src/lib/elm_separator.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /** | ||
2 | * @defgroup Separator Separator | ||
3 | * @ingroup Elementary | ||
4 | * | ||
5 | * @brief Separator is a very thin object used to separate other objects. | ||
6 | * | ||
7 | * A separator can be vertical or horizontal. | ||
8 | * | ||
9 | * @ref tutorial_separator is a good example of how to use a separator. | ||
10 | * @{ | ||
11 | */ | ||
12 | /** | ||
13 | * @brief Add a separator object to @p parent | ||
14 | * | ||
15 | * @param parent The parent object | ||
16 | * | ||
17 | * @return The separator object, or NULL upon failure | ||
18 | * | ||
19 | * @ingroup Separator | ||
20 | */ | ||
21 | EAPI Evas_Object *elm_separator_add(Evas_Object *parent); | ||
22 | /** | ||
23 | * @brief Set the horizontal mode of a separator object | ||
24 | * | ||
25 | * @param obj The separator object | ||
26 | * @param horizontal If true, the separator is horizontal | ||
27 | * | ||
28 | * @ingroup Separator | ||
29 | */ | ||
30 | EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); | ||
31 | /** | ||
32 | * @brief Get the horizontal mode of a separator object | ||
33 | * | ||
34 | * @param obj The separator object | ||
35 | * @return If true, the separator is horizontal | ||
36 | * | ||
37 | * @see elm_separator_horizontal_set() | ||
38 | * | ||
39 | * @ingroup Separator | ||
40 | */ | ||
41 | EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj); | ||
42 | /** | ||
43 | * @} | ||
44 | */ | ||