1 /**
2  * Adds an inwin to the current window
3  *
4  * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
5  * Never call this function with anything other than the top-most window
6  * as its parameter, unless you are fond of undefined behavior.
7  *
8  * After creating the object, the widget will set itself as resize object
9  * for the window with elm_win_resize_object_add(), so when shown it will
10  * appear to cover almost the entire window (how much of it depends on its
11  * content and the style used). It must not be added into other container
12  * objects and it needs not be moved or resized manually.
13  *
14  * @param parent The parent object
15  * @return The new object or NULL if it cannot be created
16  *
17  * @ingroup Elm_Inwin_Group
18  */
19 EAPI Evas_Object *elm_win_inwin_add(Evas_Object *parent);
20 
21 /**
22  * Set the content of an inwin object.
23  *
24  * Once the content object is set, a previously set one will be deleted.
25  * If you want to keep that old content object, use the
26  * elm_win_inwin_content_unset() function.
27  *
28  * @param obj The inwin object
29  * @param content The object to set as content
30  *
31  * @ingroup Elm_Inwin_Group
32  */
33 EAPI void         elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content);
34 
35 /**
36  * Get the content of an inwin object.
37  *
38  * Return the content object for this widget.
39  *
40  * The returned object is valid as long as the inwin is still alive and no
41  * other content is set on it. Deleting the object will notify the inwin
42  * about it and this one will be left empty.
43  *
44  * If you need to remove an inwin's content to be reused somewhere else,
45  * see elm_win_inwin_content_unset().
46  *
47  * @param obj The inwin object
48  * @return The content that is being used
49  *
50  * @ingroup Elm_Inwin_Group
51  */
52 EAPI Evas_Object *elm_win_inwin_content_get(const Evas_Object *obj);
53 
54 /**
55  * Unset the content of an inwin object.
56  *
57  * Unparent and return the content object which was set for this widget.
58  *
59  * @param obj The inwin object
60  * @return The content that was being used
61  *
62  * @ingroup Elm_Inwin_Group
63  */
64 EAPI Evas_Object *elm_win_inwin_content_unset(Evas_Object *obj);
65 
66 #include "elm_inwin_eo.legacy.h"
67