summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/canvas/layout/method/message_send.txt
blob: 2e31c1c13c71377a0e611c39520df91210df6cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
~~Title: Efl.Canvas.Layout.message_send~~
//Overridden from [[:develop:api:efl:layout:signal:method:message_send|Efl.Layout.Signal.message_send]].//===== Signature =====

<code>
message_send @pure_virtual {
    params {
        @in id: int;
        @in msg: free(const(any_value), eina_value_flush);
    }
}
</code>

===== C signature =====

<code c>
void efl_layout_signal_message_send(Eo *obj, int id, const Eina_Value msg);
</code>

===== Parameters =====

  * **id** //(in)// - %%A identification number for the message to be sent%%
  * **msg** //(in)// - %%The message's payload%%

===== Description =====

%%Sends an (Edje) message to a given Edje object%%

%%This function sends an Edje message to obj and to all of its child objects, if it has any (swallowed objects are one kind of child object). Only a few types are supported: - int, - float/double, - string/stringshare, - arrays of int, float, double or strings.%%

%%Messages can go both ways, from code to theme, or theme to code.%%

%%The id argument as a form of code and theme defining a common interface on message communication. One should define the same IDs on both code and EDC declaration, to individualize messages (binding them to a given context).%%

//Since 1.21//
{{page>:develop:api-include:efl:canvas:layout:method:message_send:description&nouser&nolink&nodate}}

===== Implemented by =====

  * [[:develop:api:efl:layout:signal:method:message_send|Efl.Layout.Signal.message_send]]