efl/src/lib/elementary/efl_ui.eot

96 lines
3.2 KiB
Plaintext

/* Efl.Ui enum and struct types */
import eina_types;
var Efl.Ui.Theme.Apply_Error.NONE: Eina.Error; [[Successfully applied the requested style from the current theme.]]
var Efl.Ui.Theme.Apply_Error.DEFAULT: Eina.Error; [[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.]]
var Efl.Ui.Theme.Apply_Error.GENERIC: Eina.Error; [[Failed to apply theme. The widget may become unusable.]]
enum Efl.Ui.Focus.Direction
{
[[ Focus directions. ]]
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.10]]
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.Slider_Indicator_Visible_Mode
{
[[Slider's indicator visibility mode.
@since 1.13
]]
on_drag, [[show indicator on mouse down or change in slider value]]
always, [[Always show the indicator.]]
on_focus, [[Show the indicator on focus]]
none [[Never show the indicator ]]
}
enum Efl.Ui.Focus.Autoscroll_Mode
{
[[Focus Autoscroll Mode
@since 1.10
]]
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.
@since 1.7
]]
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.]]
}
/* Types for A11Y (internal/beta API) */
type @beta @extern Efl.Access.Action_Data: __undefined_type; [[Internal struct for accesssibility.]]