Tizen Native API
Functions | Typedefs
Plug
Elementary Widgets

Functions

Evas_Objectelm_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_Objectelm_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.

An object that allows one to show an image which the other process created. It can be used anywhere like any other elementary widget.

plug_inheritance_tree.png

Function Documentation

Adds a new plug image to the parent.

Since :
2.3
Parameters:
[in]parentThe 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
Parameters:
[in]objThe Evas_Object where the new image object lives
[in]svcnameThe service name to connect to the set up by the socket
[in]svcnumThe service number to connect to (set up by socket)
[in]svcsysThe boolean to set if the service is a system one or not (set up by socket)
Returns:
(EINA_TRUE = success, EINA_FALSE = error)

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
Remarks:
Be careful to not manipulate it, as it is under the control of elementary.
Parameters:
[in]objThe image object to get the inlined image from
Returns:
The inlined image object, otherwise NULL if none exist

Except as noted, this content - excluding the Code Examples - is licensed under Creative Commons Attribution 3.0 and all of the Code Examples contained herein are licensed under BSD-3-Clause.
For details, see the Content License