summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_view_list.eo
blob: c47f7c94e607776df2f0887247f7ac4296b0c26d (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import elm_genlist_item;

class Elm.View.List (Eo.Base)
{
    legacy_prefix: null;
    methods {
        genlist_set {
             [[Constructor wrapper

               @since 1.11
             ]]
             params {
                 @in genlist: Evas.Object*; [[Genlist object]]
                 @in item_type: Elm.Genlist.Item.Type; [[Item type]]
                 @in item_style: const(char)*; [[The current item style name. $null would be default.]]
             }
        }
        evas_object_get {
             [[Return evas object

               @since 1.11
             ]]
             params {
                 @out widget: Evas.Object*; [[Returned widget]]
             }
        }
        property_connect {
             [[Connect property

               @since 1.11
             ]]
             params {
                 @in property: const(char)*; [[Property name]]
                 @in part: const(char)*; [[Edje's theme part]]
             }
        }
        model_set {
             [[Set model

               @since 1.11
             ]]
             params {
                 @in model: Efl.Model *; [[New Emodel to set]]
             }
        }
        model_unset {
             [[Unset model

               @since 1.11
             ]]
        }
        model_get {
             [[Get model

               @since 1.11
             ]]
             params {
                 @out model: Efl.Model *; [[Returned Emodel]]
             }
        }
    }
    /* For some reason the following comment after the event doesn't work: Event dispatch when a model is selected */
    events {
        model,selected;
    }

    implements {
        Eo.Base.destructor;
    }
    constructors {
        .genlist_set;
    }
}