Plug
Functions | |
Evas_Object * | elm_plug_add (Evas_Object *parent) |
Add a new plug image to the parent. | |
Eina_Bool | elm_plug_connect (Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys) |
Connect a plug widget to service provided by socket image. | |
Evas_Object * | elm_plug_image_object_get (const Evas_Object *obj) |
Get the basic Evas_Image object from this object (widget). |
Detailed Description

An object that allows one to show an image which other process created. It can be used anywhere like any other elementary widget.
Function Documentation
Evas_Object* elm_plug_add | ( | Evas_Object * | parent | ) |
Add a new plug image to the parent.
- Parameters:
-
parent The parent object
- Returns:
- The new plug image object or NULL if it cannot be created
References ELM_WIDGET_DATA.
Eina_Bool elm_plug_connect | ( | Evas_Object * | obj, |
const char * | svcname, | ||
int | svcnum, | ||
Eina_Bool | svcsys | ||
) |
Connect a plug widget to service provided by socket image.
- Parameters:
-
obj The Evas_Object where the new image object will live. svcname The service name to connect to set up by the socket. svcnum The service number to connect to (set up by socket). svcsys Boolean to set if the service is a system one or not (set up by socket).
- Returns:
- (
EINA_TRUE
= success,EINA_FALSE
= error)
References elm_plug_image_object_get().
Evas_Object* elm_plug_image_object_get | ( | const Evas_Object * | obj | ) |
Get the basic Evas_Image object from this object (widget).
- Parameters:
-
obj The image object to get the inlined image from
- Returns:
- The inlined image object, or NULL if none exists
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 get the pixel data, save the image to a file, etc.
- Note:
- Be careful to not manipulate it, as it is under control of elementary.
References ELM_WIDGET_DATA.
Referenced by elm_plug_connect().