summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_view_list.eo
blob: ccd77a692371de372ac4a07c1aae7e888099214a (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
import elm_genlist_item;

class Elm.View.List (Efl.Object)
{
    [[Elementary view list class]]
    methods {
        genlist_set {
             [[Constructor wrapper

               @since 1.11
             ]]
             params {
                 @in genlist: Efl.Canvas.Object; [[Genlist object]]
                 @in item_type: Elm.Genlist.Item.Type; [[Item type]]
                 @in item_style: string; [[The current item style name. $null would be default.]]
             }
        }
        evas_object_get {
             [[Return evas object

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

               @since 1.11
             ]]
             params {
                 @in property: string; [[Property name]]
                 @in part: string; [[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; [[Called when model was selected]]
    }
    implements {
        Efl.Object.destructor;
    }
    constructors {
        .genlist_set;
    }
}