aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/access/event/children_changed.txt
blob: 7acb2eb6f4b6769c6bedd1a3cd7fd5117028358f (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
~~Title: Efl.Access: children,changed~~
===== Description =====

%%Called when children have changed%%
{{page>:develop:api-include:efl:access:event:children_changed:description&nouser&nolink&nodate}}

===== Signature =====

<code>
children,changed: Efl.Access.Event.Children_Changed.Data;
</code>

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

<code c>
EFL_ACCESS_EVENT_CHILDREN_CHANGED(Efl_Access_Event_Children_Changed_Data)
</code>

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

<code c>
static void
on_efl_access_event_children_changed(void *data, const Efl_Event *event)
{
    Efl_Access_Event_Children_Changed_Data 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_ACCESS_EVENT_CHILDREN_CHANGED, on_efl_access_event_children_changed, d);
}

</code>