summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_ctxpopup.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_ctxpopup.eo')
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo35
1 files changed, 34 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index 39448e2f27..69615eecd6 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -113,10 +113,43 @@ class Elm.Ctxpopup (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action,
113 clear { 113 clear {
114 [[Clear all items in the given ctxpopup object.]] 114 [[Clear all items in the given ctxpopup object.]]
115 } 115 }
116 item_insert_before {
117 [[Insert a new item to a ctxpopup object before item $before.
118
119 See also elm_object_content_set.
120
121 @since 1.21
122 ]]
123 return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]]
124
125 params {
126 @in before: Elm.Widget.Item; [[The ctxpopup item to insert before.]]
127 @in label: string; [[The Label of the new item]]
128 @in icon: Efl.Canvas.Object @optional; [[Icon to be set on new item]]
129 @in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]]
130 @in data: const(void_ptr) @optional; [[Data passed to $func]]
131 }
132 }
133 item_insert_after {
134 [[Insert a new item to a ctxpopup object after item $after.
135
136 See also elm_object_content_set.
137
138 @since 1.21
139 ]]
140 return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]]
141
142 params {
143 @in after: Elm.Widget.Item; [[The ctxpopup item to insert after.]]
144 @in label: string; [[The Label of the new item]]
145 @in icon: Efl.Canvas.Object @optional; [[Icon to be set on new item]]
146 @in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]]
147 @in data: const(void_ptr) @optional; [[Data passed to $func]]
148 }
149 }
116 item_append { 150 item_append {
117 [[Add a new item to a ctxpopup object. 151 [[Add a new item to a ctxpopup object.
118 152
119
120 Warning:Ctxpopup can't hold both an item list and a content at the same 153 Warning:Ctxpopup can't hold both an item list and a content at the same
121 time. When an item is added, any previous content will be removed. 154 time. When an item is added, any previous content will be removed.
122 155