aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/canvas/object/property/seat_event_filter.txt
blob: 199cfcfcc1c8aa2a1033685fb5e11083b9af38d0 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
~~Title: Efl.Canvas.Object.seat_event_filter~~
//Overridden from [[:develop:api:efl:input:interface:property:seat_event_filter|Efl.Input.Interface.seat_event_filter]] **(get, set)**.//===== Signature =====

<code>
@property seat_event_filter @pure_virtual {
    get {
        keys {
            seat: free(Efl.Input.Device, efl_del);
        }
        values {
            enable: bool;
        }
    }
    set {
        keys {
            seat: free(Efl.Input.Device, efl_del);
        }
        values {
            enable: bool;
        }
    }
}
</code>

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

<code c>
Eina_Bool efl_input_seat_event_filter_get(const Eo *obj, Efl_Input_Device *seat);
void efl_input_seat_event_filter_set(Eo *obj, Efl_Input_Device *seat, Eina_Bool enable);
</code>

===== Keys =====

  * **seat** - %%The seat to act on.%%
===== Values =====

  * **enable** - %%%%''true''%% to enable events for a seat or %%''false''%% otherwise.%%
===== Description =====




{{page>:develop:api-include:efl:canvas:object:property:seat_event_filter:description&nouser&nolink&nodate}}

==== Getter ====

%%Check if input events from a given seat is enabled.%%

//Since 1.19//


{{page>:develop:api-include:efl:canvas:object:property:seat_event_filter:getter_description&nouser&nolink&nodate}}

==== Setter ====

%%Add or remove a given seat to the filter list. If the filter list is empty this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is in the list.%%

//Since 1.19//
{{page>:develop:api-include:efl:canvas:object:property:seat_event_filter:getter_description&nouser&nolink&nodate}}


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

  * [[:develop:api:efl:input:interface:property:seat_event_filter|Efl.Input.Interface.seat_event_filter]]