summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui.eot
blob: f8be696cc0acbf7cfa9c7cad5bda50169b25058f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* Efl.Ui enum and struct types */

/* FIXME: find a better way to express this */
error @extern Efl.Ui.Theme.Apply_Error.NONE = "Succcess"; [[Successfully applied the requested style from the current theme.]]

error Efl.Ui.Theme.Apply_Error.DEFAULT = "Fallback to default style was enabled for this widget"; [[
   Successfully applied the default style. The widget may look different from
   the rest of the UI if a custom theme is in use, but it should be usable.
]]
error Efl.Ui.Theme.Apply_Error.GENERIC = "An error occurred and no theme could be set for this widget"; [[
   Failed to apply theme. The widget may become unusable.
]]
error Efl.Ui.Theme.Apply_Error.VERSION = "The widget attempted to load a theme that is incompatible with the current EFL version"; [[
   The theme was applied. The widget may not function or look as expected.
]]

enum Efl.Ui.Focus.Direction
{
   [[ Focus directions.

     @since 1.23
   ]]
   previous = 0, [[ previous direction ]]
   next = 1,     [[ next direction ]]
   up = 2,       [[ up direction ]]
   down = 3,     [[ down direction ]]
   right = 4,    [[ right direction ]]
   left = 5,     [[ left direction ]]
   last = 6      [[ last direction ]]
}

enum Efl.Ui.Focus.Move_Policy
{
   [[Focus Movement Policy.
     @since 1.22]]
   click, [[Move focus by mouse click or touch. Elementary focus is set on mouse
            click and this is checked at mouse up time. (default)]]
   move_in, [[Move focus by mouse in. Elementary focus is set on mouse move when the
         mouse pointer is moved into an object.]]
   key_only, [[Move focus by key. Elementary focus is set on key input like
               Left, Right, Up, Down, Tab, or Shift+Tab.]]
}

enum @beta Efl.Ui.Focus.Autoscroll_Mode
{
   [[Focus Autoscroll Mode

     @since 1.22
   ]]
   show,    [[Directly show the focused region or item automatically.]]
   none,    [[Do not show the focused region or item automatically.]]
   bring_in [[Bring in the focused region or item automatically which might invole the scrolling.]]
}

enum @beta Efl.Ui.Softcursor_Mode
{
   [[Software cursor mode.]]
   auto, [[Auto-detect if a software cursor should be used (default).]]
   on,   [[Always use a softcursor.]]
   off   [[Never use a softcursor.]]
}

/* 'on_access_activate' is beta API in the Widget class */
enum @beta Efl.Ui.Activate
{
   [[Accessibility ]]
   default = 0, [[Activate default]]
   up, [[Activate up]]
   down, [[Activate down]]
   right, [[Activate right]]
   left, [[Activate left]]
   back, [[Activate back]]
}

enum @beta Efl.Ui.Widget_Orientation_Mode
{
   [[Widget orientation mode, or how the theme handles screen orientation.

     Note: Support for this feature is highly dependent on the theme in use.
     At the time of writing, the default theme for EFL does not implement
     support for orientation modes.
   ]]
   default, [[Default or automatic mode: if the widget's theme supports
      orientation, it will be handled automatically.]]
   disabled, [[No signal is sent to the widget's theme. Widget's theme will
      not change according to the window or screen orientation.]]
}

enum Efl.Ui.Select_Mode {
   [[Type of multi selectable object.

     @since 1.24
   ]]
   single, [[Only single child is selected. If a child is selected,
             previous selected child will be unselected.]]
   multi, [[Allow multiple selection of children.]]
   none [[No child can be selected at all.]]
}

/* Types for A11Y (internal/beta API) */
type @beta @extern Efl.Access.Action_Data: __undefined_type; [[Internal struct for accesssibility.]]