*/
/**
- * Focus directions.
- *
- * @ingroup Focus
- */
-typedef enum
-{
- ELM_FOCUS_PREVIOUS, /**< previous direction */
- ELM_FOCUS_NEXT, /**< next direction */
- ELM_FOCUS_UP, /**< up direction */
- ELM_FOCUS_DOWN, /**< down direction */
- ELM_FOCUS_RIGHT, /**< right direction */
- ELM_FOCUS_LEFT, /**< left direction */
- ELM_FOCUS_MOUSE, /**< direction is from mouse */
- ELM_FOCUS_REVERT /**< direction is from focus revert */
-} Elm_Focus_Direction;
-
-/**
* Focus region show mode.
*
* @ingroup Focus
last
}
+enum Elm.Focus_Direction
+{
+ [[ Focus directions. ]]
+ legacy: elm_focus;
+ previous, [[ previous direction ]]
+ next, [[ next direction ]]
+ up, [[ up direction ]]
+ down, [[ down direction ]]
+ right, [[ right direction ]]
+ left, [[ left direction ]]
+ mouse, [[ direction is from mouse ]]
+ revert [[ direction is from focus revert ]]
+}
+
+import elm_general;
+
abstract Elm.Widget (Evas.Object_Smart, Elm_Interface_Atspi_Accessible, Elm_Interface_Atspi_Component)
{
eo_prefix: elm_obj_widget;
@property focus_origin {
get {
[[Get the origination of the focus. Arrow key, tab key, mouse or deletion of an object.]]
- return: Elm_Focus_Direction;
+ return: Elm.Focus_Direction;
}
}
@property parent2 {
@since 1.8]]
params {
@in next: Evas.Object * @nullable; [[Focus next object]]
- @in dir: Elm_Focus_Direction; [[Focus direction]]
+ @in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
focus_next_object_get @const {
@since 1.8]]
return: Evas.Object *; [[Focus next object]]
params {
- @in dir: Elm_Focus_Direction; [[Focus direction]]
+ @in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
focus_next_item_set {
@since 1.16]]
params {
@in next_item: Elm_Object_Item * @nullable; [[Focus next object item]]
- @in dir: Elm_Focus_Direction; [[Focus direction]]
+ @in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
focus_next_item_get @const {
@since 1.16]]
return: Elm_Object_Item *; [[Focus next object item]]
params {
- @in dir: Elm_Focus_Direction; [[Focus direction]]
+ @in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
focus_tree_unfocusable_handle {
}
focus_cycle {
params {
- @in dir: Elm_Focus_Direction;
+ @in dir: Elm.Focus_Direction;
}
}
focus_direction {
focus_next_get @const {
return: bool;
params {
- @in dir: Elm_Focus_Direction;
+ @in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm_Object_Item *;
}
focus_next {
[['Virtual' function handling passing focus to sub-objects.]]
params {
- @in dir: Elm_Focus_Direction;
+ @in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm_Object_Item *;
}
params {
@in items: const(list<Eo.Base*>)*;
@in list_data_get: list_data_get_func_type;
- @in dir: Elm_Focus_Direction;
+ @in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm_Object_Item *;
}
@since 1.16]]
params {
- dir: Elm_Focus_Direction; [[Focus direction]]
+ dir: Elm.Focus_Direction; [[Focus direction]]
}
return: Evas.Object *; [[Focus next object]]
}
@since 1.16]]
params {
next: Evas.Object * @nullable; [[Focus next object]]
- dir: Elm_Focus_Direction; [[Focus direction]]
+ dir: Elm.Focus_Direction; [[Focus direction]]
}
}
focus_next_item_get @const {
@since 1.16]]
params {
- dir: Elm_Focus_Direction; [[Focus direction]]
+ dir: Elm.Focus_Direction; [[Focus direction]]
}
return: Elm_Object_Item *; [[Focus next object item]]
}
@since 1.16]]
params {
next_item: Elm_Object_Item * @nullable; [[Focus next object item]]
- dir: Elm_Focus_Direction; [[Focus direction]]
+ dir: Elm.Focus_Direction; [[Focus direction]]
}
}
}