aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/control/event/agent_released.txt
blob: f7afc60ed7e5a5188c7fca6aa0d42f210b1909ac (plain) (blame)
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
41
~~Title: Efl.Net.Control: agent_released~~
===== Description =====

%%Notifies we're not the agent anymore%%

//Since 1.19//
{{page>:develop:api-include:efl:net:control:event:agent_released:description&nouser&nolink&nodate}}

===== Signature =====

<code>
agent_released;
</code>

===== C information =====

<code c>
EFL_NET_CONTROL_EVENT_AGENT_RELEASED(void)
</code>

===== C usage =====

<code c>
static void
on_efl_net_control_event_agent_released(void *data, const Efl_Event *event)
{
    void info = event->info;
    Eo *obj = event->object;
    Data *d = data;

    /* event hander code */
}

static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_NET_CONTROL_EVENT_AGENT_RELEASED, on_efl_net_control_event_agent_released, d);
}

</code>