Tizen Native API
|
An object that allows one to show an image which the other process created. It can be used anywhere like any other elementary widget.
Functions | |
Evas_Object * | elm_plug_add (Evas_Object *parent) |
Adds a new plug image to the parent. | |
Eina_Bool | elm_plug_connect (Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys) |
Connects a plug widget to the service provided by the socket image. | |
Evas_Object * | elm_plug_image_object_get (const Evas_Object *obj) |
Gets the basic Evas_Image object from this object (widget). | |
Typedefs | |
typedef struct _Elm_Plug_Message | Elm_Plug_Message |
The structure type holding the message which elm plug received from ecore evas. |
Function Documentation
Evas_Object* elm_plug_add | ( | Evas_Object * | parent | ) |
Adds a new plug image to the parent.
- Since :
- 2.3.1
- Parameters:
-
[in] parent The parent object
- Returns:
- The new plug image object, otherwise
NULL
if it cannot be created
Eina_Bool elm_plug_connect | ( | Evas_Object * | obj, |
const char * | svcname, | ||
int | svcnum, | ||
Eina_Bool | svcsys | ||
) |
Connects a plug widget to the service provided by the socket image.
- Since :
- 2.3.1
- Parameters:
-
[in] obj The Evas_Object where the new image object lives [in] svcname The service name to connect to the set up by the socket [in] svcnum The service number to connect to (set up by socket) [in] svcsys The boolean to set if the service is a system one or not (set up by socket)
- Returns:
- (
EINA_TRUE
= success,EINA_FALSE
= error)
Evas_Object* elm_plug_image_object_get | ( | const Evas_Object * | obj | ) |
Gets the basic Evas_Image object from this object (widget).
This function allows one to get the underlying Evas_Object
of type Image from this elementary widget. It can be useful to do things like getting the pixel data, saving the image to a file, etc.
- Since :
- 2.3.1
- Remarks:
- Be careful to not manipulate it, as it is under the control of elementary.
- Parameters:
-
[in] obj The image object to get the inlined image from
- Returns:
- The inlined image object, otherwise
NULL
if none exist