atspi: fix translation domain for naviframe item
[platform/upstream/elementary.git] / src / lib / elm_naviframe_item.eo
1 class Elm.Naviframe_Item(Elm.Widget_Item)
2 {
3    eo_prefix: elm_obj_naviframe_item;
4    methods {
5         @property style {
6              get {
7                  [[Get an item style.
8
9                    \@if MOBILE \@since_tizen 2.3
10                    \@elseif WEARABLE \@since_tizen 2.3.1
11                    \@endif
12                  ]]
13              }
14              set {
15                  [[Set an item style.
16
17                    \@if MOBILE \@since_tizen 2.3
18                    \@elseif WEARABLE \@since_tizen 2.3.1
19                    \@endif
20                  ]]
21              }
22              values {
23                  style: const (char) * @nullable; [[The current item style name. $null would be default]]
24              }
25         }
26       pop_to {
27             [[Pop the top item and delete the items between the top and the
28               above one on the given item.
29
30               The items between the top and the given item will be deleted
31               first, and then the top item will be popped at last.
32
33               Warning: The pop callback function set by
34               elm_naviframe_item_pop_cb_set is not called for items between the
35               top item and the destination item since those items are deleted
36               without being popped.
37
38               \@if MOBILE \@since_tizen 2.3
39               \@elseif WEARABLE \@since_tizen 2.3.1
40               \@endif
41             ]]
42         }
43       title_enabled_get @const {
44             [[Get a value whether title area is enabled or not.
45
46               \@if MOBILE \@since_tizen 2.3
47               \@elseif WEARABLE \@since_tizen 2.3.1
48               \@endif
49             ]]
50             return: bool; [[If $true, title area will be enabled, disabled otherwise]]
51         }
52       title_enabled_set {
53             [[Enable/Disable the title area with transition effect
54
55               When the title area is disabled, then the controls would be
56               hidden so as to expand the content area to full-size.
57
58               \@if MOBILE \@since_tizen 2.3
59               \@elseif WEARABLE \@since_tizen 2.3.1
60               \@endif
61             ]]
62             params {
63                 @in enable: bool; [[If $true, title area will be enabled, disabled otherwise]]
64                 @in transition: bool; [[If $true, transition effect of the title will be visible, invisible otherwise]]
65             }
66         }
67       promote {
68             [[Promote an item already in the naviframe stack to the top of
69               the stack.
70
71               This will take the indicated item and promote it to the top of
72               the stack as if it had been pushed there. The item must already
73               be inside the naviframe stack to work.
74
75               \@if MOBILE \@since_tizen 2.3
76               \@elseif WEARABLE \@since_tizen 2.3.1
77               \@endif
78             ]]
79         }
80
81       pop_cb_set {
82             [[Set a function to be called when an item of the naviframe is
83               going to be popped.
84
85               Warning: Don't set "clicked" callback to the prev button
86               additionally if the function does an exact same logic with
87               this $func. When hardware back key is pressed then both
88               callbacks will be called.
89               Warning: The pop callback function is called only if the item is
90               popped. Therefore, the pop callback function is not called if the
91               item is deleted without being popped.
92
93               \@if MOBILE \@since_tizen 2.3
94               \@elseif WEARABLE \@since_tizen 2.3.1
95               \@endif
96
97               @since 1.8
98             ]]
99             params {
100                   @in func: Elm_Naviframe_Item_Pop_Cb @nullable; [[The callback function.]]
101                   @in data: void * @optional; [[Data to be passed to func call.]]
102             }
103         }
104    }
105    implements {
106         Eo.Base.constructor;
107         Eo.Base.destructor;
108         Elm.Widget_Item.signal_emit;
109         Elm.Widget_Item.part_text.set;
110         Elm.Widget_Item.part_text.get;
111         Elm.Widget_Item.part_content.get;
112         Elm.Widget_Item.part_content.set;
113         Elm.Widget_Item.part_content_unset;
114         //TIZEN_ONLY(20161213) Using VIEW(item) for naviframe, naviframe item accessible information
115         Elm_Interface_Atspi_Accessible.name.get;
116         Elm_Interface_Atspi_Accessible.name.set;
117         Elm_Interface_Atspi_Accessible.description.set;
118         Elm_Interface_Atspi_Accessible.description.get;
119         Elm_Interface_Atspi_Accessible.translation_domain.set;
120         Elm_Interface_Atspi_Accessible.translation_domain.get;
121         //
122    }
123 }