summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_ctxpopup.eo
diff options
context:
space:
mode:
authorSangHyeon Lee <sh10233.lee@samsung.com>2018-04-16 11:02:59 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-04-16 11:03:02 -0700
commit9c8ebc9dfc04aa923a97da29a6c7c70220097ea3 (patch)
tree98bd6363cf2d5f0940b60591ec29d1b5fa67915e /src/lib/elementary/elm_ctxpopup.eo
parent9dcf6f71d066d4dc75e6f784595c38e9ab3e6b4e (diff)
elm_menu, toolbar, ctxpopup : remove unnecesary interface efl_ui_item and efl_ui_menu
Summary: Legacy menu toolbar and ctxpopup are not new efl interface widget, but it have efl interfaces, efl_ui_item and efl_ui_menu. if we plan to implement this two, it should be a class not a interface, so I remove it on legacy widget. Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5939 Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elementary/elm_ctxpopup.eo')
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo38
1 files changed, 32 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index 1421d03..019e092 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -8,14 +8,44 @@ enum Elm.Ctxpopup.Direction
8 unknown [[Ctxpopup does not determine it's direction yet.]] 8 unknown [[Ctxpopup does not determine it's direction yet.]]
9} 9}
10 10
11class Elm.Ctxpopup (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Efl.Access.Widget.Action, 11class Elm.Ctxpopup (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Efl.Access.Widget.Action, Efl.Ui.Legacy)
12 Efl.Ui.Menu, Efl.Ui.Legacy)
13{ 12{
14 [[Elementary context popup class]] 13 [[Elementary context popup class]]
15 legacy_prefix: elm_ctxpopup; 14 legacy_prefix: elm_ctxpopup;
16 eo_prefix: elm_obj_ctxpopup; 15 eo_prefix: elm_obj_ctxpopup;
17 event_prefix: elm_ctxpopup; 16 event_prefix: elm_ctxpopup;
18 methods { 17 methods {
18 @property selected_item {
19 get {
20 [[Get the selected item in the widget.]]
21 }
22 values {
23 item: Elm.Widget.Item; [[The selected item or $null.]]
24 }
25 }
26 @property first_item {
27 get {
28 [[Get the first item in the widget.]]
29 }
30 values {
31 item: Elm.Widget.Item; [[The first item or $null.]]
32 }
33 }
34 @property last_item {
35 get {
36 [[Get the last item in the widget.]]
37 }
38 values {
39 item: Elm.Widget.Item; [[The last item or $null.]]
40 }
41 }
42 @property items {
43 get {
44 [[Returns a list of the widget item.]]
45 return: const(list<Elm.Widget.Item>); [[const list to widget items]]
46 }
47 }
48
19 @property horizontal { 49 @property horizontal {
20 set { 50 set {
21 [[Change the ctxpopup's orientation to horizontal or vertical.]] 51 [[Change the ctxpopup's orientation to horizontal or vertical.]]
@@ -208,10 +238,6 @@ class Elm.Ctxpopup (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Efl.Access.Widget.Action,
208 Efl.Ui.Widget.theme_apply; 238 Efl.Ui.Widget.theme_apply;
209 Efl.Ui.Widget.widget_event; 239 Efl.Ui.Widget.widget_event;
210 Efl.Ui.Widget.focused_item { get; } 240 Efl.Ui.Widget.focused_item { get; }
211 Efl.Ui.Menu.selected_item { get; }
212 Efl.Ui.Menu.first_item { get; }
213 Efl.Ui.Menu.last_item { get; }
214 Efl.Ui.Menu.items { get; }
215 Efl.Access.Widget.Action.elm_actions { get; } 241 Efl.Access.Widget.Action.elm_actions { get; }
216 Efl.Access.state_set { get; } 242 Efl.Access.state_set { get; }
217 Efl.Part.part; 243 Efl.Part.part;