aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/input/interface/event/focus_in.txt
blob: 44d5f57a63347ddc5dcadf8facf5ccaccb6cf1a6 (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.Input.Interface: focus,in~~
===== Signature =====

<code>
focus,in: free(Efl.Input.Focus, efl_del);
</code>

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

<code c>
EFL_EVENT_FOCUS_IN(Efl_Input_Focus *)
</code>

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

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

</code>

===== Description =====

%%A focus in event.%%

//Since 1.19//
{{page>:develop:api-include:efl:input:interface:event:focus_in:description&nouser&nolink&nodate}}