summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.eo
blob: 14080a035c99f7ed9c6b230d77912200b6cd4dfe (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
41
42
43
44
45
46
47
48
type @extern Eio_Filter_Direct_Cb: __undefined_type;

class Eio.Model (Eo.Base, Efl.Model)
{
    [[Eio model class]]

    legacy_prefix: null;
    methods {
       children_filter_set {
          [[Set children filter callback.

            This function sets, along with user's private data userdata,
            the Eio's Eio_Filter_Direct_Cb which is a mid-step before
            receiving the real data. Once in filter callback we can decide,
            by returning either EINA_FALSE, to abort the notification or
            EINA_TRUE to keep it.

            See also @Efl.Model.children_slice_get.

            @since 1.11
          ]]
          params {
             filter_cb: Eio_Filter_Direct_Cb; [[Filter callback]]
             userdata: void *; [[User's private data]]
          }
       }
       path_set {
          [[Custom Eio_Model constructor.

            @since 1.11
          ]]
          params {
             @in path: const(char)*; [[Root path provided by caller]]
          }
       }
    }
    implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
      Efl.Model.properties.get;
      Efl.Model.property_set;
      Efl.Model.property_get;
      Efl.Model.child_add;
      Efl.Model.child_del;
      Efl.Model.children_slice_get;
      Efl.Model.children_count_get;
    }
}