summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_ctxpopup.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-10 14:55:30 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-10 14:58:25 +0900
commitf1a6497459678baac6a30420a27e6235a179e39a (patch)
treea2344353d3f51292a49983f75a22af91aab79969 /src/lib/elementary/elm_ctxpopup.eo
parent8546ff727f9ee60ac0a662611d606e0d608e8c3d (diff)
ctxpopup: Remove use of Orientation API (EO)
ctxpopup belongs to legacy, some work is ongoing to provide a cleaner EO based API for popups, etc... See T5326 Revert "ctxpopup: implement Efl.Orientation interface functions" This reverts commit 736fb9d4980a7dee83ca0721d8b9b58c6c12a39d. Ref T5870
Diffstat (limited to 'src/lib/elementary/elm_ctxpopup.eo')
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index 69615ee..2f3740f 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -9,13 +9,27 @@ enum Elm.Ctxpopup.Direction
9} 9}
10 10
11class Elm.Ctxpopup (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action, 11class Elm.Ctxpopup (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action,
12 Efl.Orientation, Efl.Ui.Menu) 12 Efl.Ui.Menu)
13{ 13{
14 [[Elementary context popup class]] 14 [[Elementary context popup class]]
15 legacy_prefix: elm_ctxpopup; 15 legacy_prefix: elm_ctxpopup;
16 eo_prefix: elm_obj_ctxpopup; 16 eo_prefix: elm_obj_ctxpopup;
17 event_prefix: elm_ctxpopup; 17 event_prefix: elm_ctxpopup;
18 methods { 18 methods {
19 @property horizontal {
20 set {
21 [[Change the ctxpopup's orientation to horizontal or vertical.]]
22 }
23 get {
24 [[Get the value of current ctxpopup object's orientation.
25
26 See also @.horizontal.set.
27 ]]
28 }
29 values {
30 horizontal: bool; [[$true for horizontal mode, $false for vertical.]]
31 }
32 }
19 @property auto_hide_disabled { 33 @property auto_hide_disabled {
20 set { 34 set {
21 [[Set ctxpopup auto hide mode triggered by ctxpopup policy. 35 [[Set ctxpopup auto hide mode triggered by ctxpopup policy.
@@ -203,7 +217,6 @@ class Elm.Ctxpopup (Efl.Ui.Layout, Elm.Interface.Atspi_Widget_Action,
203 Efl.Ui.Menu.items { get; } 217 Efl.Ui.Menu.items { get; }
204 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 218 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
205 Elm.Interface.Atspi_Accessible.state_set { get; } 219 Elm.Interface.Atspi_Accessible.state_set { get; }
206 Efl.Orientation.orientation { get; set; }
207 Efl.Part.part; 220 Efl.Part.part;
208 } 221 }
209 events { 222 events {