summaryrefslogtreecommitdiff
path: root/src/lib/elm_interface_atspi_action.eo
blob: ef7973a8864dfb20352bf74bf9f6f040a1395b4f (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
74
75
76
77
78
79
mixin Elm_Interface_Atspi_Action ()
{
   legacy_prefix: null;
   eo_prefix: elm_interface_atspi_action;
   data: null;
   properties {
      name @protected {
         get {
            /*@ Gets action name for given id */
         }
         values {
            const(char)* name;
         }
         keys {
            int id;
         }
      }
      localized_name @protected {
         get {
            /*@ Gets localized action name for given id */
         }
         values {
            const(char)* name;
         }
         keys {
            int id;
         }
      }
      description @protected {
         get {
            /*@ Gets action description for given id */
         }
         set {
            /*@ Sets action description for given id */
            return: bool;
         }
         values {
            const(char)* description;
         }
         keys {
            int id;
         }
      }
      actions @protected {
         get {
            /*@ Get list of available widget actions */
         }
         values {
            Eina_List *actions; /*@ contains statically allocated strings */
         }
      }
   }
   methods {
      action_do @protected {
         /*@ Performs action on given widget. */
         params {
            @in int id;
         }
         return: bool;
      }
      keybinding_get @protected {
         /*@ Gets configured keybinding for specific action and widget.
             returned pointer should be free by a user.*/
         params {
            @in  int id;
         }
         return: char *;
      }
   }
   implements {
      virtual.action_do;
      virtual.keybinding_get;
      virtual.name.get;
      virtual.name.set;
      virtual.description.get;
      virtual.description.set;
      virtual.actions.get;
   }
}