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

class Elm.View.List extends 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]]
             }
        }
        @property model {
	     set {
                [[Set model

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

               @since 1.11
             ]]
             }
             values {
                 model: Efl.Model; [[Efl.Model to set]]
             }
        }
    }
    /* For some reason the following comment after the event doesn't work: Event dispatch when a model is selected */
    events {
        model,selected: Efl.Object; [[Called when model was selected]]
    }
    implements {
        Efl.Object.destructor;
    }
    constructors {
        .genlist_set;
    }
}