2 * @defgroup Frame Frame
4 * @image html img/widget/frame/preview-00.png
5 * @image latex img/widget/frame/preview-00.eps
7 * @brief Frame is a widget that holds some content and has a title.
9 * The default look is a frame with a title, but Frame supports multple
19 * Of all this styles only default shows the title. Frame emits no signals.
21 * Default contents parts of the frame widget that you can use for are:
22 * @li "default" - A content of the frame
24 * Default text parts of the frame widget that you can use for are:
25 * @li "elm.text" - Label of the frame
27 * For a detailed example see the @ref tutorial_frame.
33 * @brief Add a new frame to the parent
35 * @param parent The parent object
36 * @return The new object or NULL if it cannot be created
39 elm_frame_add(Evas_Object *parent)
43 * @brief Set the frame label
45 * @param obj The frame object
46 * @param label The label of this frame object
48 * @deprecated use elm_object_text_set() instead.
50 EINA_DEPRECATED EAPI void elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
53 * @brief Get the frame label
55 * @param obj The frame object
57 * @return The label of this frame objet or NULL if unable to get frame
59 * @deprecated use elm_object_text_get() instead.
61 EINA_DEPRECATED EAPI const char *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
64 * @brief Set the content of the frame widget
66 * Once the content object is set, a previously set one will be deleted.
67 * If you want to keep that old content object, use the
68 * elm_frame_content_unset() function.
70 * @param obj The frame object
71 * @param content The content will be filled in this frame object
73 * @deprecated use elm_object_content_set() instead.
75 EINA_DEPRECATED EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
78 * @brief Get the content of the frame widget
80 * Return the content object which is set for this widget
82 * @param obj The frame object
83 * @return The content that is being used
85 * @deprecated use elm_object_content_get() instead.
87 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
90 * @brief Unset the content of the frame widget
92 * Unparent and return the content object which was set for this widget
94 * @param obj The frame object
95 * @return The content that was being used
97 * @deprecated use elm_object_content_unset() instead.
99 EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);