From 722de3edba500442a2043f569071e1e724a935b5 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 13 Apr 2018 11:45:56 +0200 Subject: [PATCH] Efl.Ui.Win_* (from Efl.Ui.Win.*) Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail --- src/lib/elementary/efl_ui_win.eo | 48 +++++++++++++++++------------------ src/lib/elementary/efl_ui_win_part.eo | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo index ac1b579..b71691a 100644 --- a/src/lib/elementary/efl_ui_win.eo +++ b/src/lib/elementary/efl_ui_win.eo @@ -1,4 +1,4 @@ -enum Efl.Ui.Win.Type +enum Efl.Ui.Win_Type { [[Defines the types of window that can be created @@ -43,7 +43,7 @@ enum Efl.Ui.Win.Type ]] } -enum Efl.Ui.Win.Keyboard_Mode +enum Efl.Ui.Win_Keyboard_Mode { [[The different layouts that can be requested for the virtual keyboard. @@ -70,7 +70,7 @@ enum Efl.Ui.Win.Keyboard_Mode j2me [[J2ME keyboard layout]] } -enum Efl.Ui.Win.Indicator_Mode +enum Efl.Ui.Win_Indicator_Mode { [[Defines the type indicator that can be shown]] legacy: efl_ui_win_indicator; @@ -88,7 +88,7 @@ enum Efl.Ui.Win.Indicator_Mode If user flicks the upper side of window, the indicator is shown temporarily.]] } -enum Efl.Ui.Win.Keygrab_Mode +enum Efl.Ui.Win_Keygrab_Mode { [[Define the keygrab modes of window. A window may send commands to the Keyrouter according this mode, and perform different actions.]] @@ -107,7 +107,7 @@ enum Efl.Ui.Win.Keygrab_Mode window]] } -enum Efl.Ui.Win.Modal_Mode +enum Efl.Ui.Win_Modal_Mode { [[Defines the mode of a modal window]] legacy: efl_ui_win_modal; @@ -116,7 +116,7 @@ enum Efl.Ui.Win.Modal_Mode modal [[The window is modal window.]] } -enum Efl.Ui.Win.Urgent_Mode +enum Efl.Ui.Win_Urgent_Mode { [[Defines the mode of a urgent window.]] legacy: efl_ui_win_urgent; @@ -125,7 +125,7 @@ enum Efl.Ui.Win.Urgent_Mode urgent [[The window is a urgent window.]] } -enum Efl.Ui.Win.Move_Resize_Mode +enum Efl.Ui.Win_Move_Resize_Mode { [[Define the move or resize mode of window. @@ -215,7 +215,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces legacy: null; } values { - type: Efl.Ui.Win.Indicator_Mode; [[The mype, one of #Efl_Ui_Win_Indicator_Mode.]] + type: Efl.Ui.Win_Indicator_Mode; [[The mype, one of #Efl_Ui_Win_Indicator_Mode.]] } } @property keyboard_mode { @@ -226,7 +226,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces [[Get the keyboard mode of the window.]] } values { - mode: Efl.Ui.Win.Keyboard_Mode; [[The mode, one of #Efl_Ui_Win_Keyboard_Mode.]] + mode: Efl.Ui.Win_Keyboard_Mode; [[The mode, one of #Efl_Ui_Win_Keyboard_Mode.]] } } @property wm_available_rotations { @@ -421,7 +421,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces legacy: null; } values { - urgent: Efl.Ui.Win.Urgent_Mode; + urgent: Efl.Ui.Win_Urgent_Mode; [[The mode of a urgent window, one of #Efl_Ui_Win_Urgent_Mode.]] } } @@ -435,7 +435,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces legacy: null; } values { - modal: Efl.Ui.Win.Modal_Mode; [[The mode of a window, one of #Efl_Ui_Win_Modal_Mode.]] + modal: Efl.Ui.Win_Modal_Mode; [[The mode of a window, one of #Efl_Ui_Win_Modal_Mode.]] } } @property noblank { @@ -543,7 +543,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces legacy: elm_win_type_get; } values { - type: Efl.Ui.Win.Type(Efl.Ui.Win.Type.unknown); [[Window type]] + type: Efl.Ui.Win_Type(Efl.Ui.Win_Type.unknown); [[Window type]] } } @property accel_preference { @@ -731,7 +731,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces @in not_modifiers: Efl.Input.Modifier; [[A combinaison of modifier keys that must not be present to trigger the event. Not supported yet.]] @in priority: int; [[Not supported yet.]] - @in grab_mode: Efl.Ui.Win.Keygrab_Mode; [[Describes how the key should + @in grab_mode: Efl.Ui.Win_Keygrab_Mode; [[Describes how the key should be grabbed, wrt. focus and stacking.]] } legacy: null; @@ -755,7 +755,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces [[Start moving or resizing the window. The user can request the display server to start moving or resizing - the window by combining modes from @Efl.Ui.Win.Move_Resize_Mode. + the window by combining modes from @Efl.Ui.Win_Move_Resize_Mode. This API can only be called if none of the following conditions is true: @@ -774,15 +774,15 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces Currently, only the following 9 combinations are allowed, and possibly more combinations may be added in the future: - 1. @Efl.Ui.Win.Move_Resize_Mode.move - 2. @Efl.Ui.Win.Move_Resize_Mode.top - 3. @Efl.Ui.Win.Move_Resize_Mode.bottom - 4. @Efl.Ui.Win.Move_Resize_Mode.left - 5. @Efl.Ui.Win.Move_Resize_Mode.right - 6. @Efl.Ui.Win.Move_Resize_Mode.top | @Efl.Ui.Win.Move_Resize_Mode.left - 7. @Efl.Ui.Win.Move_Resize_Mode.top | @Efl.Ui.Win.Move_Resize_Mode.right - 8. @Efl.Ui.Win.Move_Resize_Mode.bottom | @Efl.Ui.Win.Move_Resize_Mode.left - 9. @Efl.Ui.Win.Move_Resize_Mode.bottom | @Efl.Ui.Win.Move_Resize_Mode.right + 1. @Efl.Ui.Win_Move_Resize_Mode.move + 2. @Efl.Ui.Win_Move_Resize_Mode.top + 3. @Efl.Ui.Win_Move_Resize_Mode.bottom + 4. @Efl.Ui.Win_Move_Resize_Mode.left + 5. @Efl.Ui.Win_Move_Resize_Mode.right + 6. @Efl.Ui.Win_Move_Resize_Mode.top | @Efl.Ui.Win_Move_Resize_Mode.left + 7. @Efl.Ui.Win_Move_Resize_Mode.top | @Efl.Ui.Win_Move_Resize_Mode.right + 8. @Efl.Ui.Win_Move_Resize_Mode.bottom | @Efl.Ui.Win_Move_Resize_Mode.left + 9. @Efl.Ui.Win_Move_Resize_Mode.bottom | @Efl.Ui.Win_Move_Resize_Mode.right In particular move and resize cannot happen simultaneously. @@ -795,7 +795,7 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces return: bool; [[$true if the request was successfully sent to the display server, $false in case of error.]] params { - @in mode: Efl.Ui.Win.Move_Resize_Mode; [[The requested move or + @in mode: Efl.Ui.Win_Move_Resize_Mode; [[The requested move or resize mode.]] } } diff --git a/src/lib/elementary/efl_ui_win_part.eo b/src/lib/elementary/efl_ui_win_part.eo index caa321b..acb6f43 100644 --- a/src/lib/elementary/efl_ui_win_part.eo +++ b/src/lib/elementary/efl_ui_win_part.eo @@ -1,4 +1,4 @@ -class Efl.Ui.Win.Part (Efl.Ui.Widget_Part, Efl.Content, Efl.Gfx.Entity, Efl.Gfx.Color, +class Efl.Ui.Win_Part (Efl.Ui.Widget_Part, Efl.Content, Efl.Gfx.Entity, Efl.Gfx.Color, Efl.File) { [[Efl UI window interal part class]] -- 2.7.4