summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.eo
blob: 47323a1940ffc68de20a33b328f1331ca16ad0d2 (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
49
class Eio.Model (Eo.Base, Efl.Model.Base)
{
    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.Base.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.Base.properties.get;
      Efl.Model.Base.properties_load;
      Efl.Model.Base.property.set;
      Efl.Model.Base.property.get;
      Efl.Model.Base.load;
      Efl.Model.Base.load_status.get;
      Efl.Model.Base.unload;
      Efl.Model.Base.child_add;
      Efl.Model.Base.child_del;
      Efl.Model.Base.children_slice.get;
      Efl.Model.Base.children_count.get;
      Efl.Model.Base.children_load;
    }
}