diff options
Diffstat (limited to 'src/lib/elementary/elm_naviframe_item.eo')
-rw-r--r-- | src/lib/elementary/elm_naviframe_item.eo | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/src/lib/elementary/elm_naviframe_item.eo b/src/lib/elementary/elm_naviframe_item.eo deleted file mode 100644 index c35f345..0000000 --- a/src/lib/elementary/elm_naviframe_item.eo +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | type Elm_Naviframe_Item_Pop_Cb: __undefined_type; [[Elementary naviframe item pop callback type]] | ||
2 | |||
3 | class Elm.Naviframe.Item extends Elm.Widget.Item implements Efl.Ui.Legacy | ||
4 | { | ||
5 | [[Elementary naviframe item class]] | ||
6 | legacy_prefix: elm_naviframe_item; | ||
7 | eo_prefix: elm_obj_naviframe_item; | ||
8 | methods { | ||
9 | pop_to { | ||
10 | [[Pop the top item and delete the items between the top and the | ||
11 | above one on the given item. | ||
12 | |||
13 | The items between the top and the given item will be deleted | ||
14 | first, and then the top item will be popped at last. | ||
15 | |||
16 | Warning: The pop callback function set by | ||
17 | elm_naviframe_item_pop_cb_set is not called for items between the | ||
18 | top item and the destination item since those items are deleted | ||
19 | without being popped. | ||
20 | ]] | ||
21 | } | ||
22 | title_enabled_get @const { | ||
23 | [[Get a value whether title area is enabled or not.]] | ||
24 | return: bool; [[If $true, title area will be enabled, disabled otherwise]] | ||
25 | } | ||
26 | title_enabled_set { | ||
27 | [[Enable/Disable the title area with transition effect | ||
28 | |||
29 | When the title area is disabled, then the controls would be | ||
30 | hidden so as to expand the content area to full-size. | ||
31 | ]] | ||
32 | params { | ||
33 | @in enable: bool; [[If $true, title area will be enabled, disabled otherwise]] | ||
34 | @in transition: bool; [[If $true, transition effect of the title will be visible, invisible otherwise]] | ||
35 | } | ||
36 | } | ||
37 | promote { | ||
38 | [[Promote an item already in the naviframe stack to the top of | ||
39 | the stack. | ||
40 | |||
41 | This will take the indicated item and promote it to the top of | ||
42 | the stack as if it had been pushed there. The item must already | ||
43 | be inside the naviframe stack to work. | ||
44 | ]] | ||
45 | } | ||
46 | |||
47 | pop_cb_set { | ||
48 | [[Set a function to be called when an item of the naviframe is | ||
49 | going to be popped. | ||
50 | |||
51 | Warning: Don't set "clicked" callback to the prev button | ||
52 | additionally if the function does an exact same logic with | ||
53 | this $func. When hardware back key is pressed then both | ||
54 | callbacks will be called. | ||
55 | Warning: The pop callback function is called only if the item is | ||
56 | popped. Therefore, the pop callback function is not called if the | ||
57 | item is deleted without being popped. | ||
58 | |||
59 | @since 1.8 | ||
60 | ]] | ||
61 | params { | ||
62 | @in func: Elm_Naviframe_Item_Pop_Cb @nullable; [[The callback function.]] | ||
63 | @in data: void_ptr @optional; [[Data to be passed to func call.]] | ||
64 | } | ||
65 | } | ||
66 | } | ||
67 | implements { | ||
68 | Efl.Object.constructor; | ||
69 | Efl.Object.invalidate; | ||
70 | Efl.Object.destructor; | ||
71 | Elm.Widget.Item.signal_emit; | ||
72 | Elm.Widget.Item.part_text { get; set; } | ||
73 | Elm.Widget.Item.part_content { get; set; } | ||
74 | Elm.Widget.Item.part_content_unset; | ||
75 | Elm.Widget.Item.style { set; } | ||
76 | Efl.Access.Object.access_children { get; } | ||
77 | } | ||
78 | } | ||